| 1 field_group.api.php | hook_field_group_format_summary($group) |
Implements hook_field_group_format_summary().
Place to override or change default summary behavior. In most cases the implementation of field group itself will be enough.
TODO It might be better to change this hook with already created summaries, giving the ability to alter or add it later on.
Parameters
object $group: Group definition.
Return value
string: HTML of the format summary.
Related topics
File
- core/
modules/ field_group/ field_group.api.php, line 331 - Hooks provided by the Field Group module.
Code
function hook_field_group_format_summary($group) {
$output = '';
// Create additional summary or change the default setting.
return $output;
}