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