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