function field_group_field_group_formatter_info in Field Group 7
Same name and namespace in other branches
- 7.2 field_group.module \field_group_field_group_formatter_info()
Implements hook_field_group_formatter_info().
File
- ./
field_group.module, line 300 - Fieldgroup module.
Code
function field_group_field_group_formatter_info() {
return array(
'form' => array(
'html-element' => array(
'label' => t('HTML element'),
'description' => t('This fieldgroup renders the inner content in a HTML element with classes and attributes.'),
'instance_settings' => array(
'element' => 'div',
'show_label' => 0,
'label_element' => 'div',
'classes' => '',
'attributes' => '',
'required_fields' => 1,
'id' => '',
),
),
'div' => array(
'label' => t('Div'),
'description' => t('This fieldgroup renders the inner content in a simple div with the title as legend.'),
'format_types' => array(
'open',
'collapsible',
'collapsed',
),
'instance_settings' => array(
'description' => '',
'show_label' => 1,
'label_element' => 'h3',
'effect' => 'none',
'speed' => 'fast',
'classes' => '',
'required_fields' => 1,
'id' => '',
),
'default_formatter' => 'open',
),
'html5' => array(
'label' => t('HTML5'),
'description' => t('This fieldgroup renders the inner content in a semantic HTML5 wrapper'),
'instance_settings' => array(
'wrapper' => '',
'classes' => '',
'id' => '',
),
),
'fieldset' => array(
'label' => t('Fieldset'),
'description' => t('This fieldgroup renders the inner content in a fieldset with the title as legend.'),
'format_types' => array(
'open',
'collapsible',
'collapsed',
),
'instance_settings' => array(
'description' => '',
'classes' => '',
'required_fields' => 1,
'id' => '',
),
'default_formatter' => 'collapsible',
),
'tabs' => array(
'label' => t('Vertical tabs group'),
'description' => t('This fieldgroup renders child groups in its own vertical tabs wrapper.'),
'instance_settings' => array(
'classes' => '',
'id' => '',
),
),
'tab' => array(
'label' => t('Vertical tab'),
'description' => t('This fieldgroup renders the content in a fieldset, part of vertical tabs group.'),
'format_types' => array(
'open',
'closed',
),
'instance_settings' => array(
'description' => '',
'classes' => '',
'required_fields' => 1,
),
'default_formatter' => 'closed',
),
'htabs' => array(
'label' => t('Horizontal tabs group'),
'description' => t('This fieldgroup renders child groups in its own horizontal tabs wrapper.'),
'instance_settings' => array(
'classes' => '',
'id' => '',
),
),
'htab' => array(
'label' => t('Horizontal tab'),
'format_types' => array(
'open',
'closed',
),
'description' => t('This fieldgroup renders the content in a fieldset, part of horizontal tabs group.'),
'default_formatter' => 'closed',
'instance_settings' => array(
'description' => '',
'classes' => '',
'required_fields' => 1,
),
),
'multipage-group' => array(
'label' => t('Multipage group'),
'description' => t('This fieldgroup renders groups on separate pages.'),
'instance_settings' => array(
'classes' => '',
'page_header' => 3,
'move_additional' => 1,
'page_counter' => 1,
'move_button' => 0,
),
),
'multipage' => array(
'label' => t('Multipage'),
'format_types' => array(
'start',
'no-start',
),
'description' => t('This fieldgroup renders the content in a page.'),
'default_formatter' => 'no-start',
'instance_settings' => array(
'description' => '',
'classes' => '',
'required_fields' => 1,
),
),
'accordion' => array(
'label' => t('Accordion group'),
'description' => t('This fieldgroup renders child groups as jQuery accordion.'),
'instance_settings' => array(
'effect' => 'none',
'classes' => '',
'id' => '',
),
),
'accordion-item' => array(
'label' => t('Accordion item'),
'format_types' => array(
'open',
'closed',
),
'description' => t('This fieldgroup renders the content in a div, part of accordion group.'),
'default_formatter' => 'closed',
'instance_settings' => array(
'description' => '',
'classes' => '',
'required_fields' => 1,
),
),
),
'display' => array(
'html-element' => array(
'label' => t('HTML element'),
'description' => t('This fieldgroup renders the inner content in a HTML element with classes and attributes.'),
'instance_settings' => array(
'element' => 'div',
'show_label' => 0,
'label_element' => 'div',
'classes' => '',
'attributes' => '',
'required_fields' => 1,
'id' => '',
),
),
'div' => array(
'label' => t('Div'),
'description' => t('This fieldgroup renders the inner content in a simple div with the title as legend.'),
'format_types' => array(
'open',
'collapsible',
'collapsed',
),
'instance_settings' => array(
'description' => '',
'show_label' => 1,
'label_element' => 'h3',
'effect' => 'none',
'speed' => 'fast',
'classes' => '',
'id' => '',
),
'default_formatter' => 'collapsible',
),
'html5' => array(
'label' => t('HTML5'),
'description' => t('This fieldgroup renders the inner content in a semantic HTML5 wrapper'),
'instance_settings' => array(
'wrapper' => '',
'classes' => '',
'id' => '',
),
),
'fieldset' => array(
'label' => t('Fieldset'),
'description' => t('This fieldgroup renders the inner content in a fieldset with the title as legend.'),
'format_types' => array(
'open',
'collapsible',
'collapsed',
),
'instance_settings' => array(
'description' => '',
'classes' => '',
'id' => '',
),
'default_formatter' => 'collapsible',
),
'tabs' => array(
'label' => t('Vertical tabs group'),
'description' => t('This fieldgroup renders child groups in its own vertical tabs wrapper.'),
'instance_settings' => array(
'classes' => '',
'id' => '',
),
),
'tab' => array(
'label' => t('Vertical tab'),
'description' => t('This fieldgroup renders the content in a fieldset, part of vertical tabs group.'),
'format_types' => array(
'open',
'closed',
),
'instance_settings' => array(
'description' => '',
'classes' => '',
),
'default_formatter' => 'closed',
),
'htabs' => array(
'label' => t('Horizontal tabs group'),
'description' => t('This fieldgroup renders child groups in its own horizontal tabs wrapper.'),
'instance_settings' => array(
'classes' => '',
'id' => '',
),
),
'htab' => array(
'label' => t('Horizontal tab item'),
'format_types' => array(
'open',
'closed',
),
'description' => t('This fieldgroup renders the content in a fieldset, part of horizontal tabs group.'),
'instance_settings' => array(
'description' => '',
'classes' => '',
'id' => '',
),
'default_formatter' => 'closed',
),
'accordion' => array(
'label' => t('Accordion group'),
'description' => t('This fieldgroup renders child groups as jQuery accordion.'),
'instance_settings' => array(
'description' => '',
'classes' => '',
'effect' => 'bounceslide',
'id' => '',
),
),
'accordion-item' => array(
'label' => t('Accordion item'),
'format_types' => array(
'open',
'closed',
),
'description' => t('This fieldgroup renders the content in a div, part of accordion group.'),
'instance_settings' => array(
'classes' => '',
),
'default_formatter' => 'closed',
),
),
);
}