function editor_note_user_delete in Editor Notes 8
Implements hook_ENTITY_TYPE_delete().
File
- ./
editor_note.module, line 56 - Contains editor_node.module.
Code
function editor_note_user_delete(EntityInterface $entity) {
\Drupal::service('class_resolver')
->getInstanceFromDefinition(EntityHook::class)
->onUserDelete($entity);
}