function workspace_entity_insert in Workspace 8.2
Implements hook_entity_insert().
File
- ./
workspace.module, line 75 - Provides full-site preview functionality for content staging.
Code
function workspace_entity_insert(EntityInterface $entity) {
return \Drupal::service('class_resolver')
->getInstanceFromDefinition(EntityOperations::class)
->entityInsert($entity);
}