Search for hook_block

  1. Search 7.x for hook_block
  2. Search 9.5.x for hook_block
  3. Search 8.9.x for hook_block
  4. Search 11.x for hook_block
  5. Other projects
Title Object type File name Summary
hook_block_access function core/modules/block/block.api.php Control access to a block instance.
hook_block_alter function core/modules/block/block.api.php Allow modules to alter the block plugin definitions.
hook_block_build_alter function core/modules/block/block.api.php Alter the result of \Drupal\Core\Block\BlockBase::build().
hook_block_build_BASE_BLOCK_ID_alter function core/modules/block/block.api.php Provide a block plugin specific block_build alteration.
hook_block_view_alter function core/modules/block/block.api.php Alter the result of \Drupal\Core\Block\BlockBase::build().
hook_block_view_BASE_BLOCK_ID_alter function core/modules/block/block.api.php Provide a block plugin specific block_view alteration.
ViewsDisplay::$uses_hook_block property core/modules/views/src/Annotation/ViewsDisplay.php Does the display plugin provide blocks.

Buggy or inaccurate documentation? Please file an issue. Need support? Need help programming? Connect with the Drupal community.