You are here

function content_synchronizer_entity_delete in Content Synchronizer 8

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

Implements hook_entity_delete().

File

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