You are here

function workbench_moderation_entity_insert in Workbench Moderation 8

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

Implements hook_entity_insert().

File

./workbench_moderation.module, line 105
Contains workbench_moderation.module.

Code

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