Skip to main content
Drupal is a registered trademark of Dries Buytaert
Release: Opensolr Search 4.5.0 Minor update available for module opensolr_search (4.5.0). Release: Block Layout Accordion 1.0.2 Minor update available for module block_layout_accordion (1.0.2). Release: Canvas interactive toggle 1.0.2 Minor update available for module canvas_interactive_toggle (1.0.2). Release: Views HTTP Client 1.0.2 Minor update available for module views_http_client (1.0.2). Release: Block Layout Accordion 1.0.1 Minor update available for module block_layout_accordion (1.0.1). Release: Canvas interactive toggle 1.0.1 Minor update available for module canvas_interactive_toggle (1.0.1). Release: Video.js (HTML5 Video Player) 10.0.0-alpha1 First alpha version released for module videojs (10.0.0-alpha1). Usage Milestone: Simplify Module simplify crossed 10,000 active installs. Release: Audit Trail 1.0.0-alpha7 New alpha version released for module audit_trail (1.0.0-alpha7). Module Revived: Entityqueue Buttons 1.1.2 Module entityqueue_buttons updated after 8 months of inactivity (1.1.2).

Group Block

43 sites Security covered
View on drupal.org

This module allows you to assign block content specifically to groups created with the Group module. This means you can have different blocks displayed for different groups.

This module is designed to associate group specific block content with a group when using the Group module.

Requirements

Versions

  • Group block 1.0 is based on Group 1.6
  • Group block 2.0 is based on Group 2.2
  • Group block 3.0 is based on Group 3.2

Migration from patch

There is no easy way to migrate from this patch to this module as everyone's group content IDs will be different but the following code will hopefully point you in the right direction.

$old_basic_block = 'group_content_type_480bfd4b64e96';
$new_basic_block = 'group_content_type_cd92bde0bdc52';
$group_content_storage = Drupal::entityTypeManager()->getStorage('group_content');

$group_block_old_basic = $group_content_storage->loadByProperties([
  'type' => $old_basic_block
]);

foreach ($group_block_old_basic as $groupblock) {
  $new_group_content = $group_content_storage->create([
    'type' => $new_basic_block,
    'langcode' => 'en',
    'gid' => $groupblock->gid->target_id,
    'entity_id' => $groupblock->entity_id->target_id
  ]);
  $new_group_content->save();
  $groupblock->delete();
}

Depends on

Dependencies of the latest stable release

No dependencies recorded for this project.

Required by

Tracked projects that depend on this one

No tracked projects depend on this one yet.

Activity

Tracked releases
2
Tracked since
Mar 2026
Latest release
5 months ago
Releases (12 mo)
2 ▲ from 0
Maintenance
Active

Releases

Version Type Core Release date
3.x-dev Dev 9–11 Mar 4, 2026
2.x-dev Dev 9–11 Mar 4, 2026