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
EditorHooks::entityDelete function core/modules/editor/src/Hook/EditorHooks.php Implements hook_entity_delete().
EditorHooks::entityInsert function core/modules/editor/src/Hook/EditorHooks.php Implements hook_entity_insert().
EditorHooks::entityRevisionDelete function core/modules/editor/src/Hook/EditorHooks.php Implements hook_entity_revision_delete().
EditorHooks::entityUpdate function core/modules/editor/src/Hook/EditorHooks.php Implements hook_entity_update().
EditorHooks::fileDownload function core/modules/editor/src/Hook/EditorHooks.php Implements hook_file_download().
EditorHooks::filterFormatPresave function core/modules/editor/src/Hook/EditorHooks.php Implements hook_ENTITY_TYPE_presave().
EditorHooks::formFilterAdminOverviewAlter function core/modules/editor/src/Hook/EditorHooks.php Implements hook_form_FORM_ID_alter().
EditorHooks::formFilterFormatFormAlter function core/modules/editor/src/Hook/EditorHooks.php Implements hook_form_BASE_FORM_ID_alter() for \Drupal\filter\FilterFormatEditForm.
EditorHooks::help function core/modules/editor/src/Hook/EditorHooks.php Implements hook_help().
EditorHooks::menuLinksDiscoveredAlter function core/modules/editor/src/Hook/EditorHooks.php Implements hook_menu_links_discovered_alter().
EditorTestHooks class core/modules/editor/tests/modules/editor_test/src/Hook/EditorTestHooks.php Hook implementations for editor_test.
EditorTestHooks.php file core/modules/editor/tests/modules/editor_test/src/Hook/EditorTestHooks.php
EditorTestHooks::editorInfoAlter function core/modules/editor/tests/modules/editor_test/src/Hook/EditorTestHooks.php Implements hook_editor_info_alter().
EditorTestHooks::editorJsSettingsAlter function core/modules/editor/tests/modules/editor_test/src/Hook/EditorTestHooks.php Implements hook_editor_js_settings_alter().
EditorTestHooks::editorXssFilterAlter function core/modules/editor/tests/modules/editor_test/src/Hook/EditorTestHooks.php Implements hook_editor_xss_filter_alter().
EditorTestHooks::entityUpdate function core/modules/editor/tests/modules/editor_test/src/Hook/EditorTestHooks.php Implements hook_entity_update().
EditorTestHooks::filePresave function core/modules/editor/tests/modules/editor_test/src/Hook/EditorTestHooks.php Implements hook_ENTITY_TYPE_presave() for file entities.
ElementInfoTestHooks class core/modules/system/tests/modules/element_info_test/src/Hook/ElementInfoTestHooks.php Hook implementations for element_info_test.
ElementInfoTestHooks.php file core/modules/system/tests/modules/element_info_test/src/Hook/ElementInfoTestHooks.php
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().

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