content_moderation_entity_operation(EntityInterface $entity)
Implements hook_entity_operation().
File
- core/modules/content_moderation/content_moderation.module, line 69
- Contains content_moderation.module.
Code
function content_moderation_entity_operation(EntityInterface $entity) { return \Drupal::service('class_resolver') ->getInstanceFromDefinition(EntityTypeInfo::class) ->entityOperation($entity); }
Please login to continue.