You are here

function content_moderation_notifications_entity_update in Content Moderation Notifications 8.3

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

Implements hook_entity_update().

File

./content_moderation_notifications.module, line 28
Hook implementations for the content moderation notifications module.

Code

function content_moderation_notifications_entity_update(EntityInterface $entity) {
  \Drupal::service('content_moderation_notifications.notification')
    ->processEntity($entity);
}