You are here

function workbench_moderation_entity_update in Workbench Moderation 8

Same name and namespace in other branches
  1. 8.2 workbench_moderation.module \workbench_moderation_entity_update()

Implements hook_entity_update().

File

./workbench_moderation.module, line 112
Contains workbench_moderation.module.

Code

function workbench_moderation_entity_update(EntityInterface $entity) {
  return \Drupal::service('workbench_moderation.entity_operations')
    ->entityUpdate($entity);
}