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. Search main for hook_
  6. Other projects
Title Object type File name Summary
ElementInfoTestHooks::elementInfoAlter function core/modules/system/tests/modules/element_info_test/src/Hook/ElementInfoTestHooks.php Implements hook_element_info_alter().
ElementInfoTestHooks::elementPluginAlter function core/modules/system/tests/modules/element_info_test/src/Hook/ElementInfoTestHooks.php Implements hook_element_plugin_alter().
Entity CRUD, editing, and view hooks group core/lib/Drupal/Core/Entity/entity.api.php Hooks used in various entity operations.
EntityAccessControlHandler::processAccessHookResults function core/lib/Drupal/Core/Entity/EntityAccessControlHandler.php Determines entity access.
EntityAccessControlHandlerTest::testHooks function core/tests/Drupal/KernelTests/Core/Entity/EntityAccessControlHandlerTest.php Tests hook invocations.
EntityCrudHookTest class core/tests/Drupal/KernelTests/Core/Entity/EntityCrudHookTest.php Tests entity CRUD via hooks.
EntityCrudHookTest.php file core/tests/Drupal/KernelTests/Core/Entity/EntityCrudHookTest.php
EntityCrudHookTest::$modules property core/tests/Drupal/KernelTests/Core/Entity/EntityCrudHookTest.php Modules to install.
EntityCrudHookTest::assertHookMessageOrder function core/tests/Drupal/KernelTests/Core/Entity/EntityCrudHookTest.php Checks the order of CRUD hook execution messages.
EntityCrudHookTest::blockCreate function core/tests/Drupal/KernelTests/Core/Entity/EntityCrudHookTest.php Implements hook_ENTITY_TYPE_create() for block entities.
EntityCrudHookTest::blockDelete function core/tests/Drupal/KernelTests/Core/Entity/EntityCrudHookTest.php Implements hook_ENTITY_TYPE_delete() for block entities.
EntityCrudHookTest::blockInsert function core/tests/Drupal/KernelTests/Core/Entity/EntityCrudHookTest.php Implements hook_ENTITY_TYPE_insert() for block entities.
EntityCrudHookTest::blockLoad function core/tests/Drupal/KernelTests/Core/Entity/EntityCrudHookTest.php Implements hook_ENTITY_TYPE_load() for block entities.
EntityCrudHookTest::blockPredelete function core/tests/Drupal/KernelTests/Core/Entity/EntityCrudHookTest.php Implements hook_ENTITY_TYPE_predelete() for block entities.
EntityCrudHookTest::blockPresave function core/tests/Drupal/KernelTests/Core/Entity/EntityCrudHookTest.php Implements hook_ENTITY_TYPE_presave() for block entities.
EntityCrudHookTest::blockUpdate function core/tests/Drupal/KernelTests/Core/Entity/EntityCrudHookTest.php Implements hook_ENTITY_TYPE_update() for block entities.
EntityCrudHookTest::commentCreate function core/tests/Drupal/KernelTests/Core/Entity/EntityCrudHookTest.php Implements hook_ENTITY_TYPE_create() for comment entities.
EntityCrudHookTest::commentDelete function core/tests/Drupal/KernelTests/Core/Entity/EntityCrudHookTest.php Implements hook_ENTITY_TYPE_delete() for comment entities.
EntityCrudHookTest::commentInsert function core/tests/Drupal/KernelTests/Core/Entity/EntityCrudHookTest.php Implements hook_ENTITY_TYPE_insert() for comment entities.
EntityCrudHookTest::commentLoad function core/tests/Drupal/KernelTests/Core/Entity/EntityCrudHookTest.php Implements hook_ENTITY_TYPE_load() for comment entities.
EntityCrudHookTest::commentPredelete function core/tests/Drupal/KernelTests/Core/Entity/EntityCrudHookTest.php Implements hook_ENTITY_TYPE_predelete() for comment entities.
EntityCrudHookTest::commentPresave function core/tests/Drupal/KernelTests/Core/Entity/EntityCrudHookTest.php Implements hook_ENTITY_TYPE_presave() for comment entities.
EntityCrudHookTest::commentUpdate function core/tests/Drupal/KernelTests/Core/Entity/EntityCrudHookTest.php Implements hook_ENTITY_TYPE_update() for comment entities.
EntityCrudHookTest::entityCreate function core/tests/Drupal/KernelTests/Core/Entity/EntityCrudHookTest.php Implements hook_entity_create().
EntityCrudHookTest::entityDelete function core/tests/Drupal/KernelTests/Core/Entity/EntityCrudHookTest.php Implements hook_entity_delete().
EntityCrudHookTest::entityInsert function core/tests/Drupal/KernelTests/Core/Entity/EntityCrudHookTest.php Implements hook_entity_insert().
EntityCrudHookTest::entityLoad function core/tests/Drupal/KernelTests/Core/Entity/EntityCrudHookTest.php Implements hook_entity_load().
EntityCrudHookTest::entityPredelete function core/tests/Drupal/KernelTests/Core/Entity/EntityCrudHookTest.php Implements hook_entity_predelete().
EntityCrudHookTest::entityPreload function core/tests/Drupal/KernelTests/Core/Entity/EntityCrudHookTest.php Implements hook_entity_preload().
EntityCrudHookTest::entityPresave function core/tests/Drupal/KernelTests/Core/Entity/EntityCrudHookTest.php Implements hook_entity_presave().
EntityCrudHookTest::entityUpdate function core/tests/Drupal/KernelTests/Core/Entity/EntityCrudHookTest.php Implements hook_entity_update().
EntityCrudHookTest::fileCreate function core/tests/Drupal/KernelTests/Core/Entity/EntityCrudHookTest.php Implements hook_ENTITY_TYPE_create() for file entities.
EntityCrudHookTest::fileDelete function core/tests/Drupal/KernelTests/Core/Entity/EntityCrudHookTest.php Implements hook_ENTITY_TYPE_delete() for file entities.
EntityCrudHookTest::fileInsert function core/tests/Drupal/KernelTests/Core/Entity/EntityCrudHookTest.php Implements hook_ENTITY_TYPE_insert() for file entities.
EntityCrudHookTest::fileLoad function core/tests/Drupal/KernelTests/Core/Entity/EntityCrudHookTest.php Implements hook_ENTITY_TYPE_load() for file entities.
EntityCrudHookTest::filePredelete function core/tests/Drupal/KernelTests/Core/Entity/EntityCrudHookTest.php Implements hook_ENTITY_TYPE_predelete() for file entities.
EntityCrudHookTest::filePresave function core/tests/Drupal/KernelTests/Core/Entity/EntityCrudHookTest.php Implements hook_ENTITY_TYPE_presave() for file entities.
EntityCrudHookTest::fileUpdate function core/tests/Drupal/KernelTests/Core/Entity/EntityCrudHookTest.php Implements hook_ENTITY_TYPE_update() for file entities.
EntityCrudHookTest::nodeCreate function core/tests/Drupal/KernelTests/Core/Entity/EntityCrudHookTest.php Implements hook_ENTITY_TYPE_create() for node entities.
EntityCrudHookTest::nodeDelete function core/tests/Drupal/KernelTests/Core/Entity/EntityCrudHookTest.php Implements hook_ENTITY_TYPE_delete() for node entities.
EntityCrudHookTest::nodeInsert function core/tests/Drupal/KernelTests/Core/Entity/EntityCrudHookTest.php Implements hook_ENTITY_TYPE_insert() for node entities.
EntityCrudHookTest::nodeLoad function core/tests/Drupal/KernelTests/Core/Entity/EntityCrudHookTest.php Implements hook_ENTITY_TYPE_load() for node entities.
EntityCrudHookTest::nodePredelete function core/tests/Drupal/KernelTests/Core/Entity/EntityCrudHookTest.php Implements hook_ENTITY_TYPE_predelete() for node entities.
EntityCrudHookTest::nodePresave function core/tests/Drupal/KernelTests/Core/Entity/EntityCrudHookTest.php Implements hook_ENTITY_TYPE_presave() for node entities.
EntityCrudHookTest::nodeUpdate function core/tests/Drupal/KernelTests/Core/Entity/EntityCrudHookTest.php Implements hook_ENTITY_TYPE_update() for node entities.
EntityCrudHookTest::setUp function core/tests/Drupal/KernelTests/Core/Entity/EntityCrudHookTest.php
EntityCrudHookTest::taxonomyTermCreate function core/tests/Drupal/KernelTests/Core/Entity/EntityCrudHookTest.php Implements hook_ENTITY_TYPE_create() for taxonomy_term entities.
EntityCrudHookTest::taxonomyTermDelete function core/tests/Drupal/KernelTests/Core/Entity/EntityCrudHookTest.php Implements hook_ENTITY_TYPE_delete() for taxonomy_term entities.
EntityCrudHookTest::taxonomyTermInsert function core/tests/Drupal/KernelTests/Core/Entity/EntityCrudHookTest.php Implements hook_ENTITY_TYPE_insert() for taxonomy_term entities.
EntityCrudHookTest::taxonomyTermLoad function core/tests/Drupal/KernelTests/Core/Entity/EntityCrudHookTest.php Implements hook_ENTITY_TYPE_load() for taxonomy_term entities.

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