You are here

function command_buttons_field_group_info in Command Buttons 7

Implements hook_field_group_info().

File

./command_buttons.field_group.inc, line 10
command_buttons.field_group.inc

Code

function command_buttons_field_group_info() {
  $export = array();
  $field_group = new stdClass();
  $field_group->disabled = FALSE;

  /* Edit this to true to make a default field_group disabled initially */
  $field_group->api_version = 1;
  $field_group->identifier = 'group_icons|command_button|button|form';
  $field_group->group_name = 'group_icons';
  $field_group->entity_type = 'command_button';
  $field_group->bundle = 'button';
  $field_group->mode = 'form';
  $field_group->parent_name = '';
  $field_group->data = array(
    'label' => 'Icons',
    'weight' => '7',
    'children' => array(
      0 => 'field_link_icon',
    ),
    'format_type' => 'fieldset',
    'format_settings' => array(
      'label' => 'Icons',
      'instance_settings' => array(
        'required_fields' => 0,
        'classes' => 'the-icons clearfix group-icons field-group-fieldset',
        'description' => '',
      ),
      'formatter' => 'collapsed',
    ),
  );
  $export['group_icons|command_button|button|form'] = $field_group;
  return $export;
}