function entity_crud_hook_test_entity_update
Same name in other branches
- 9 core/modules/system/tests/modules/entity_crud_hook_test/entity_crud_hook_test.module \entity_crud_hook_test_entity_update()
- 8.9.x core/modules/system/tests/modules/entity_crud_hook_test/entity_crud_hook_test.module \entity_crud_hook_test_entity_update()
- 10 core/modules/system/tests/modules/entity_crud_hook_test/entity_crud_hook_test.module \entity_crud_hook_test_entity_update()
- 11.x core/modules/system/tests/modules/entity_crud_hook_test/entity_crud_hook_test.module \entity_crud_hook_test_entity_update()
Implements hook_entity_update().
File
-
modules/
simpletest/ tests/ entity_crud_hook_test.module, line 158
Code
function entity_crud_hook_test_entity_update($entity, $type) {
$_SESSION['entity_crud_hook_test'][] = __FUNCTION__ . ' called for type ' . $type;
}
Buggy or inaccurate documentation? Please file an issue. Need support? Need help programming? Connect with the Drupal community.