function editor_note_entity_delete in Editor Notes 8
Same name and namespace in other branches
- 7 editor_note.module \editor_note_entity_delete()
Implements hook_entity_delete().
File
- ./
editor_note.module, line 19 - Contains editor_node.module.
Code
function editor_note_entity_delete(EntityInterface $entity) {
\Drupal::service('class_resolver')
->getInstanceFromDefinition(EntityHook::class)
->onEntityDelete($entity);
}