Search for hook

  1. Search 7.x for hook
  2. Search 9.5.x for hook
  3. Search 10.3.x for hook
  4. Search 11.x for hook
  5. Other projects
Title Object type File name Summary
EntityCrudHookTest class core/tests/Drupal/KernelTests/Core/Entity/EntityCrudHookTest.php Tests the invocation of hooks when creating, inserting, loading, updating or
deleting an entity.
EntityCrudHookTest.php file core/tests/Drupal/KernelTests/Core/Entity/EntityCrudHookTest.php
EntityCrudHookTest::$ids property core/tests/Drupal/KernelTests/Core/Entity/EntityCrudHookTest.php
EntityCrudHookTest::$modules property core/tests/Drupal/KernelTests/Core/Entity/EntityCrudHookTest.php Modules to enable.
EntityCrudHookTest::assertHookMessageOrder function core/tests/Drupal/KernelTests/Core/Entity/EntityCrudHookTest.php Checks the order of CRUD hook execution messages.
EntityCrudHookTest::setUp function core/tests/Drupal/KernelTests/Core/Entity/EntityCrudHookTest.php
EntityCrudHookTest::testBlockHooks function core/tests/Drupal/KernelTests/Core/Entity/EntityCrudHookTest.php Tests hook invocations for CRUD operations on blocks.
EntityCrudHookTest::testCommentHooks function core/tests/Drupal/KernelTests/Core/Entity/EntityCrudHookTest.php Tests hook invocations for CRUD operations on comments.
EntityCrudHookTest::testEntityRollback function core/tests/Drupal/KernelTests/Core/Entity/EntityCrudHookTest.php Tests rollback from failed entity save.
EntityCrudHookTest::testFileHooks function core/tests/Drupal/KernelTests/Core/Entity/EntityCrudHookTest.php Tests hook invocations for CRUD operations on files.
EntityCrudHookTest::testNodeHooks function core/tests/Drupal/KernelTests/Core/Entity/EntityCrudHookTest.php Tests hook invocations for CRUD operations on nodes.
EntityCrudHookTest::testTaxonomyTermHooks function core/tests/Drupal/KernelTests/Core/Entity/EntityCrudHookTest.php Tests hook invocations for CRUD operations on taxonomy terms.
EntityCrudHookTest::testTaxonomyVocabularyHooks function core/tests/Drupal/KernelTests/Core/Entity/EntityCrudHookTest.php Tests hook invocations for CRUD operations on taxonomy vocabularies.
EntityCrudHookTest::testUserHooks function core/tests/Drupal/KernelTests/Core/Entity/EntityCrudHookTest.php Tests hook invocations for CRUD operations on users.
EntityDecoupledTranslationRevisionsTest::testCreateRevisionHook function core/tests/Drupal/KernelTests/Core/Entity/EntityDecoupledTranslationRevisionsTest.php Checks that the revision create hook works as expected.
EntityKernelTestBase::getHooksInfo function core/tests/Drupal/KernelTests/Core/Entity/EntityKernelTestBase.php Returns the entity_test hook invocation info.
EntityRevisionsTest::testSaveInHookEntityInsert function core/tests/Drupal/KernelTests/Core/Entity/EntityRevisionsTest.php Tests re-saving the entity in entity_test_entity_insert().
EntityStorageBase::invokeHook function core/lib/Drupal/Core/Entity/EntityStorageBase.php Invokes a hook on behalf of the entity.
EntityUnitTestBase::getHooksInfo function core/modules/system/src/Tests/Entity/EntityUnitTestBase.php Returns the entity_test hook invocation info.
EntityViewHookTest class core/tests/Drupal/KernelTests/Core/Entity/EntityViewHookTest.php Test view/render hooks for entities.
EntityViewHookTest.php file core/tests/Drupal/KernelTests/Core/Entity/EntityViewHookTest.php
EntityViewHookTest::testHookEntityDisplayBuildAlter function core/tests/Drupal/KernelTests/Core/Entity/EntityViewHookTest.php Test hook_entity_display_build_alter().
EntityViewsDataUpdateTest::testUpdateHookN function core/modules/views/tests/src/Functional/Update/EntityViewsDataUpdateTest.php Tests that field plugins are updated properly.
entity_crud_hook_test.info.yml file core/modules/system/tests/modules/entity_crud_hook_test/entity_crud_hook_test.info.yml core/modules/system/tests/modules/entity_crud_hook_test/entity_crud_hook_test.info.yml
entity_crud_hook_test.module file core/modules/system/tests/modules/entity_crud_hook_test/entity_crud_hook_test.module Test module for the Entity CRUD API.
entity_crud_hook_test_block_create function core/modules/system/tests/modules/entity_crud_hook_test/entity_crud_hook_test.module Implements hook_ENTITY_TYPE_create() for block entities.
entity_crud_hook_test_block_delete function core/modules/system/tests/modules/entity_crud_hook_test/entity_crud_hook_test.module Implements hook_ENTITY_TYPE_delete() for block entities.
entity_crud_hook_test_block_insert function core/modules/system/tests/modules/entity_crud_hook_test/entity_crud_hook_test.module Implements hook_ENTITY_TYPE_insert() for block entities.
entity_crud_hook_test_block_load function core/modules/system/tests/modules/entity_crud_hook_test/entity_crud_hook_test.module Implements hook_ENTITY_TYPE_load() for block entities.
entity_crud_hook_test_block_predelete function core/modules/system/tests/modules/entity_crud_hook_test/entity_crud_hook_test.module Implements hook_ENTITY_TYPE_predelete() for block entities.
entity_crud_hook_test_block_presave function core/modules/system/tests/modules/entity_crud_hook_test/entity_crud_hook_test.module Implements hook_ENTITY_TYPE_presave() for block entities.
entity_crud_hook_test_block_update function core/modules/system/tests/modules/entity_crud_hook_test/entity_crud_hook_test.module Implements hook_ENTITY_TYPE_update() for block entities.
entity_crud_hook_test_comment_create function core/modules/system/tests/modules/entity_crud_hook_test/entity_crud_hook_test.module Implements hook_ENTITY_TYPE_create() for comment entities.
entity_crud_hook_test_comment_delete function core/modules/system/tests/modules/entity_crud_hook_test/entity_crud_hook_test.module Implements hook_ENTITY_TYPE_delete() for comment entities.
entity_crud_hook_test_comment_insert function core/modules/system/tests/modules/entity_crud_hook_test/entity_crud_hook_test.module Implements hook_ENTITY_TYPE_insert() for comment entities.
entity_crud_hook_test_comment_load function core/modules/system/tests/modules/entity_crud_hook_test/entity_crud_hook_test.module Implements hook_ENTITY_TYPE_load() for comment entities.
entity_crud_hook_test_comment_predelete function core/modules/system/tests/modules/entity_crud_hook_test/entity_crud_hook_test.module Implements hook_ENTITY_TYPE_predelete() for comment entities.
entity_crud_hook_test_comment_presave function core/modules/system/tests/modules/entity_crud_hook_test/entity_crud_hook_test.module Implements hook_ENTITY_TYPE_presave() for comment entities.
entity_crud_hook_test_comment_update function core/modules/system/tests/modules/entity_crud_hook_test/entity_crud_hook_test.module Implements hook_ENTITY_TYPE_update() for comment entities.
entity_crud_hook_test_entity_create function core/modules/system/tests/modules/entity_crud_hook_test/entity_crud_hook_test.module Implements hook_entity_create().
entity_crud_hook_test_entity_delete function core/modules/system/tests/modules/entity_crud_hook_test/entity_crud_hook_test.module Implements hook_entity_delete().
entity_crud_hook_test_entity_insert function core/modules/system/tests/modules/entity_crud_hook_test/entity_crud_hook_test.module Implements hook_entity_insert().
entity_crud_hook_test_entity_load function core/modules/system/tests/modules/entity_crud_hook_test/entity_crud_hook_test.module Implements hook_entity_load().
entity_crud_hook_test_entity_predelete function core/modules/system/tests/modules/entity_crud_hook_test/entity_crud_hook_test.module Implements hook_entity_predelete().
entity_crud_hook_test_entity_preload function core/modules/system/tests/modules/entity_crud_hook_test/entity_crud_hook_test.module Implements hook_entity_preload().
entity_crud_hook_test_entity_presave function core/modules/system/tests/modules/entity_crud_hook_test/entity_crud_hook_test.module Implements hook_entity_presave().
entity_crud_hook_test_entity_update function core/modules/system/tests/modules/entity_crud_hook_test/entity_crud_hook_test.module Implements hook_entity_update().
entity_crud_hook_test_file_create function core/modules/system/tests/modules/entity_crud_hook_test/entity_crud_hook_test.module Implements hook_ENTITY_TYPE_create() for file entities.
entity_crud_hook_test_file_delete function core/modules/system/tests/modules/entity_crud_hook_test/entity_crud_hook_test.module Implements hook_ENTITY_TYPE_delete() for file entities.
entity_crud_hook_test_file_insert function core/modules/system/tests/modules/entity_crud_hook_test/entity_crud_hook_test.module Implements hook_ENTITY_TYPE_insert() for file entities.

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