You are here

function custom_formatters_fieldgroup_view_standard in Custom Formatters 6

File

includes/fieldgroup.inc, line 64
Fieldgroup module integration.

Code

function custom_formatters_fieldgroup_view_standard(&$node, &$element, $group, $context) {
  $element['#theme'] = 'custom_formatters_fieldgroup';
  $element['#formatter'] = $group['settings']['display'][$context]['format'];
}