You are here

function field_group_entity_view_pre_render in Field Group 8

Pre render callback for rendering groups on entities without theme hook.

Parameters

$element: Entity being rendered.

1 string reference to 'field_group_entity_view_pre_render'
field_group_entity_view_alter in ./field_group.module
Implements hook_entity_view_alter().

File

./field_group.module, line 270
Allows administrators to attach custom fields to fieldable types.

Code

function field_group_entity_view_pre_render($element) {
  field_group_build_entity_groups($element, 'view');
  return $element;
}