You are here

function workbench_moderation_entity_operation in Workbench Moderation 8.2

Same name and namespace in other branches
  1. 8 workbench_moderation.module \workbench_moderation_entity_operation()

Implements hook_entity_operation().

File

./workbench_moderation.module, line 77
Contains workbench_moderation.module.

Code

function workbench_moderation_entity_operation(EntityInterface $entity) {
  return \Drupal::service('workbench_moderation.entity_type')
    ->entityOperation($entity);
}