You are here

function entity_extra_field_entity_view in Entity Extra Field 8

Same name and namespace in other branches
  1. 2.0.x entity_extra_field.module \entity_extra_field_entity_view()

Implements hook_entity_view().

File

./entity_extra_field.module, line 47
The hook implementation for the entity extra field module.

Code

function entity_extra_field_entity_view(array &$build, \Drupal\Core\Entity\EntityInterface $entity, \Drupal\Core\Entity\Display\EntityViewDisplayInterface $display, $view_mode) {
  entity_extra_field_display('view', $build, $entity, $display);
}