function content_moderation_entity_view
Same name in other branches
- 8.9.x core/modules/content_moderation/content_moderation.module \content_moderation_entity_view()
- 10 core/modules/content_moderation/content_moderation.module \content_moderation_entity_view()
- 11.x core/modules/content_moderation/content_moderation.module \content_moderation_entity_view()
Implements hook_entity_view().
File
-
core/
modules/ content_moderation/ content_moderation.module, line 191
Code
function content_moderation_entity_view(array &$build, EntityInterface $entity, EntityViewDisplayInterface $display, $view_mode) {
\Drupal::service('class_resolver')->getInstanceFromDefinition(EntityOperations::class)
->entityView($build, $entity, $display, $view_mode);
}
Buggy or inaccurate documentation? Please file an issue. Need support? Need help programming? Connect with the Drupal community.