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