Skip to content

Issue #3292520 - Handle block_build and block_view alter hooks

Provides more hook_TYPE_alter() implementations.

List of hooks:

  • hook_block_build_alter
  • hook_block_build_BASE_BLOCK_ID_alter
  • hook_block_view_alter
  • hook_block_view_BASE_BLOCK_ID_alter

'Block field' ModuleHandlerInterface implementation was used as a reference (see Drupal\block_field\Plugin\Field\FieldFormatter\BlockFieldFormatter::viewElements)

Closes #3292520

Merge request reports

Loading