You are here

function workbench_moderation_entity_view in Workbench Moderation 8.2

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

Implements hook_entity_view().

File

./workbench_moderation.module, line 159
Contains workbench_moderation.module.

Code

function workbench_moderation_entity_view(array &$build, EntityInterface $entity, EntityViewDisplayInterface $display, $view_mode) {
  \Drupal::service('workbench_moderation.entity_operations')
    ->entityView($build, $entity, $display, $view_mode);
}