function workspaces_entity_presave
Same name in other branches
- 9 core/modules/workspaces/workspaces.module \workspaces_entity_presave()
- 8.9.x core/modules/workspaces/workspaces.module \workspaces_entity_presave()
Implements hook_entity_presave().
File
-
core/
modules/ workspaces/ workspaces.module, line 130
Code
function workspaces_entity_presave(EntityInterface $entity) {
return \Drupal::service('class_resolver')->getInstanceFromDefinition(EntityOperations::class)
->entityPresave($entity);
}
Buggy or inaccurate documentation? Please file an issue. Need support? Need help programming? Connect with the Drupal community.