function content_synchronizer_entity_delete in Content Synchronizer 8.2
Same name and namespace in other branches
- 8 content_synchronizer.module \content_synchronizer_entity_delete()
- 3.x content_synchronizer.module \content_synchronizer_entity_delete()
Implements hook_entity_delete().
File
- ./
content_synchronizer.module, line 60 - Hooks definitions for content_synchronizer module.
Code
function content_synchronizer_entity_delete(EntityInterface $entity) {
\Drupal::service(GlobalReferenceManager::SERVICE_NAME)
->onEntityDelete($entity);
\Drupal::service(ExportManager::SERVICE_NAME)
->onEntityDelete($entity);
}