Search for hook_

  1. Search 7.x for hook_
  2. Search 9.5.x for hook_
  3. Search 8.9.x for hook_
  4. Search 10.3.x for hook_
  5. Other projects
Title Object type File name Summary
BlockContentHooks::themeSuggestionsBlockAlter function core/modules/block_content/src/Hook/BlockContentHooks.php Implements hook_theme_suggestions_HOOK_alter() for block templates.
BlockContentStorageBodyFieldHook.php file core/modules/block_content/modules/block_content_storage_body_field/src/Hook/BlockContentStorageBodyFieldHook.php
BlockContentStorageBodyFieldHook::systemInfoAlter function core/modules/block_content/modules/block_content_storage_body_field/src/Hook/BlockContentStorageBodyFieldHook.php Implements hook_system_info_alter().
BlockContentTestHooks class core/modules/block_content/tests/modules/block_content_test/src/Hook/BlockContentTestHooks.php Hook implementations for block_content_test.
BlockContentTestHooks.php file core/modules/block_content/tests/modules/block_content_test/src/Hook/BlockContentTestHooks.php
BlockContentTestHooks::blockContentInsert function core/modules/block_content/tests/modules/block_content_test/src/Hook/BlockContentTestHooks.php Implements hook_ENTITY_TYPE_insert().
BlockContentTestHooks::blockContentPresave function core/modules/block_content/tests/modules/block_content_test/src/Hook/BlockContentTestHooks.php Implements hook_ENTITY_TYPE_presave().
BlockContentTestHooks::blockContentUpdate function core/modules/block_content/tests/modules/block_content_test/src/Hook/BlockContentTestHooks.php Implements hook_ENTITY_TYPE_update().
BlockContentTestHooks::blockContentView function core/modules/block_content/tests/modules/block_content_test/src/Hook/BlockContentTestHooks.php Implements hook_ENTITY_TYPE_view().
BlockContentThemeHooks class core/modules/block_content/src/Hook/BlockContentThemeHooks.php Theme hook implementations for block_content.
BlockContentThemeHooks.php file core/modules/block_content/src/Hook/BlockContentThemeHooks.php
BlockContentThemeHooks::preprocessEntityAddList function core/modules/block_content/src/Hook/BlockContentThemeHooks.php Implements hook_preprocess_HOOK() for entity_add_list.
BlockContentThemeHooks::__construct function core/modules/block_content/src/Hook/BlockContentThemeHooks.php
BlockContentThemeSuggestionsTestHooks class core/modules/block_content/tests/modules/block_content_theme_suggestions_test/src/Hook/BlockContentThemeSuggestionsTestHooks.php Hook implementations for block_content_theme_suggestions_test.
BlockContentThemeSuggestionsTestHooks.php file core/modules/block_content/tests/modules/block_content_theme_suggestions_test/src/Hook/BlockContentThemeSuggestionsTestHooks.php
BlockContentThemeSuggestionsTestHooks::entityExtraFieldInfo function core/modules/block_content/tests/modules/block_content_theme_suggestions_test/src/Hook/BlockContentThemeSuggestionsTestHooks.php Implements hook_entity_extra_field_info().
BlockContentThemeSuggestionsTestHooks::nodeView function core/modules/block_content/tests/modules/block_content_theme_suggestions_test/src/Hook/BlockContentThemeSuggestionsTestHooks.php Implements hook_node_view().
BlockContentThemeSuggestionsTestHooks::theme function core/modules/block_content/tests/modules/block_content_theme_suggestions_test/src/Hook/BlockContentThemeSuggestionsTestHooks.php Implements hook_theme().
BlockContentThemeSuggestionsTestThemeHooks class core/modules/block_content/tests/modules/block_content_theme_suggestions_test/src/Hook/BlockContentThemeSuggestionsTestThemeHooks.php Hook implementations for block_content_theme_suggestions_test.
BlockContentThemeSuggestionsTestThemeHooks.php file core/modules/block_content/tests/modules/block_content_theme_suggestions_test/src/Hook/BlockContentThemeSuggestionsTestThemeHooks.php
BlockContentThemeSuggestionsTestThemeHooks::preprocessBlock function core/modules/block_content/tests/modules/block_content_theme_suggestions_test/src/Hook/BlockContentThemeSuggestionsTestThemeHooks.php Implements hook_preprocess_block().
BlockHookOperationTest class core/modules/block/tests/src/Functional/BlockHookOperationTest.php Tests for Block module regarding hook_entity_operations_alter().
BlockHookOperationTest.php file core/modules/block/tests/src/Functional/BlockHookOperationTest.php
BlockHookOperationTest::$defaultTheme property core/modules/block/tests/src/Functional/BlockHookOperationTest.php The theme to install as the default for testing.
BlockHookOperationTest::$modules property core/modules/block/tests/src/Functional/BlockHookOperationTest.php Modules to install.
BlockHookOperationTest::setUp function core/modules/block/tests/src/Functional/BlockHookOperationTest.php
BlockHookOperationTest::testBlockOperationAlter function core/modules/block/tests/src/Functional/BlockHookOperationTest.php Tests the block list to see if the test_operation link is added.
BlockHooks class core/modules/block/src/Hook/BlockHooks.php Hook implementations for block.
BlockHooks.php file core/modules/block/src/Hook/BlockHooks.php
BlockHooks::blockBuildLocalActionsBlockAlter function core/modules/block/src/Hook/BlockHooks.php Implements hook_block_build_BASE_BLOCK_ID_alter().
BlockHooks::configurableLanguageDelete function core/modules/block/src/Hook/BlockHooks.php Implements hook_ENTITY_TYPE_delete() for 'configurable_language'.
BlockHooks::help function core/modules/block/src/Hook/BlockHooks.php Implements hook_help().
BlockHooks::menuDelete function core/modules/block/src/Hook/BlockHooks.php Implements hook_ENTITY_TYPE_delete() for menu entities.
BlockHooks::modulesInstalled function core/modules/block/src/Hook/BlockHooks.php Implements hook_modules_installed().
BlockHooks::pageTop function core/modules/block/src/Hook/BlockHooks.php Implements hook_page_top().
BlockHooks::preprocessBlock function core/modules/block/src/Hook/BlockHooks.php Prepares variables for block templates.
BlockHooks::rebuild function core/modules/block/src/Hook/BlockHooks.php Implements hook_rebuild().
BlockHooks::theme function core/modules/block/src/Hook/BlockHooks.php Implements hook_theme().
BlockHooks::themesInstalled function core/modules/block/src/Hook/BlockHooks.php Implements hook_themes_installed().
BlockHooks::userRoleDelete function core/modules/block/src/Hook/BlockHooks.php Implements hook_ENTITY_TYPE_delete() for user_role entities.
BlockTemplateSuggestionsTest::testBlockThemeHookSuggestions function core/modules/block/tests/src/Kernel/BlockTemplateSuggestionsTest.php Tests template suggestions from the block module.
BlockTemplateSuggestionsTest::testBlockThemeHookSuggestions function core/modules/block_content/tests/src/Kernel/BlockTemplateSuggestionsTest.php Tests template suggestions from block_content_theme_suggestions_block().
BlockTestHooks class core/modules/block/tests/modules/block_test/src/Hook/BlockTestHooks.php Hook implementations for block_test.
BlockTestHooks.php file core/modules/block/tests/modules/block_test/src/Hook/BlockTestHooks.php
BlockTestHooks::blockAlter function core/modules/block/tests/modules/block_test/src/Hook/BlockTestHooks.php Implements hook_block_alter().
BlockTestHooks::blockBuildTestCacheAlter function core/modules/block/tests/modules/block_test/src/Hook/BlockTestHooks.php Implements hook_block_build_BASE_BLOCK_ID_alter().
BlockTestHooks::blockViewPageTitleBlockAlter function core/modules/block/tests/modules/block_test/src/Hook/BlockTestHooks.php Implements hook_block_view_BASE_BLOCK_ID_alter().
BlockTestHooks::blockViewTestCacheAlter function core/modules/block/tests/modules/block_test/src/Hook/BlockTestHooks.php Implements hook_block_view_BASE_BLOCK_ID_alter().
BlockThemeHooks class core/modules/block/src/Hook/BlockThemeHooks.php Hook implementations for block.
BlockThemeHooks.php file core/modules/block/src/Hook/BlockThemeHooks.php

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