You are here

function entity_crud_hook_test_taxonomy_term_load in Drupal 10

Same name and namespace in other branches
  1. 8 core/modules/system/tests/modules/entity_crud_hook_test/entity_crud_hook_test.module \entity_crud_hook_test_taxonomy_term_load()
  2. 7 modules/simpletest/tests/entity_crud_hook_test.module \entity_crud_hook_test_taxonomy_term_load()
  3. 9 core/modules/system/tests/modules/entity_crud_hook_test/entity_crud_hook_test.module \entity_crud_hook_test_taxonomy_term_load()

Implements hook_ENTITY_TYPE_load() for taxonomy_term entities.

File

core/modules/system/tests/modules/entity_crud_hook_test/entity_crud_hook_test.module, line 223
Test module for the Entity CRUD API.

Code

function entity_crud_hook_test_taxonomy_term_load() {
  $GLOBALS['entity_crud_hook_test'][] = __FUNCTION__ . ' called';
}