You are here

function content_synchronizer_entity_delete in Content Synchronizer 3.x

Same name and namespace in other branches
  1. 8.2 content_synchronizer.module \content_synchronizer_entity_delete()
  2. 8 content_synchronizer.module \content_synchronizer_entity_delete()

Implements hook_entity_delete().

File

./content_synchronizer.module, line 63
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);
}