function WorkspacesTestHooks::entityUpdate
Implements hook_entity_update().
Attributes
#[Hook('entity_update')]
File
-
core/
modules/ workspaces/ tests/ modules/ workspaces_test/ src/ Hook/ WorkspacesTestHooks.php, line 72
Class
- WorkspacesTestHooks
- Hook implementations for workspaces_test.
Namespace
Drupal\workspaces_test\HookCode
public function entityUpdate(EntityInterface $entity) : void {
$this->incrementHookCount('hook_entity_update', $entity);
}
Buggy or inaccurate documentation? Please file an issue. Need support? Need help programming? Connect with the Drupal community.