<?php
/**
 * @file
 * diy_tools.field_group.inc
 */

/**
 * Implements hook_field_group_info().
 */
function diy_tools_field_group_info() {
  $field_groups = 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_additional_data|node|product|form';
  $field_group->group_name = 'group_additional_data';
  $field_group->entity_type = 'node';
  $field_group->bundle = 'product';
  $field_group->mode = 'form';
  $field_group->parent_name = '';
  $field_group->data = array(
    'label' => 'Additional data',
    'weight' => '2',
    'children' => array(
      0 => 'field_ean_number',
      1 => 'field_ispro',
      2 => 'field_producer',
      3 => 'field_promote',
      4 => 'field_tool_material',
      5 => 'field_tools_mu',
      6 => 'field_tools_su',
    ),
    'format_type' => 'tab',
    'format_settings' => array(
      'formatter' => 'closed',
      'instance_settings' => array(
        'description' => '',
        'classes' => 'group-additional-data field-group-tab',
        'required_fields' => 1,
      ),
    ),
  );
  $field_groups['group_additional_data|node|product|form'] = $field_group;

  $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_affilinet|node|product|form';
  $field_group->group_name = 'group_affilinet';
  $field_group->entity_type = 'node';
  $field_group->bundle = 'product';
  $field_group->mode = 'form';
  $field_group->parent_name = '';
  $field_group->data = array(
    'label' => 'External source',
    'weight' => '4',
    'children' => array(
      0 => 'field_external_id',
      1 => 'field_last_change',
      2 => 'field_overwriten',
      3 => 'field_source',
      4 => 'field_shop_id',
    ),
    'format_type' => 'tab',
    'format_settings' => array(
      'label' => 'External source',
      'instance_settings' => array(
        'required_fields' => 1,
        'classes' => 'group-affilinet field-group-tab',
        'description' => '',
      ),
      'formatter' => 'closed',
    ),
  );
  $field_groups['group_affilinet|node|product|form'] = $field_group;

  $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_basic|node|product|form';
  $field_group->group_name = 'group_basic';
  $field_group->entity_type = 'node';
  $field_group->bundle = 'product';
  $field_group->mode = 'form';
  $field_group->parent_name = '';
  $field_group->data = array(
    'label' => 'Basic',
    'weight' => '0',
    'children' => array(
      0 => 'body',
      1 => 'title',
      2 => 'group_image',
    ),
    'format_type' => 'tab',
    'format_settings' => array(
      'formatter' => 'closed',
      'instance_settings' => array(
        'description' => '',
        'classes' => 'group-basic field-group-tab',
        'required_fields' => 1,
      ),
    ),
  );
  $field_groups['group_basic|node|product|form'] = $field_group;

  $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_channel|taxonomy_term|werkzeug_material|form';
  $field_group->group_name = 'group_channel';
  $field_group->entity_type = 'taxonomy_term';
  $field_group->bundle = 'werkzeug_material';
  $field_group->mode = 'form';
  $field_group->parent_name = '';
  $field_group->data = array(
    'label' => 'Channel',
    'weight' => '3',
    'children' => array(
      0 => 'field_channel_footer',
      1 => 'field_channel_header',
      2 => 'field_channel_title',
      3 => 'field_channel_footer_title',
      4 => 'field_channel_header_title',
      5 => 'field_icon',
    ),
    'format_type' => 'fieldset',
    'format_settings' => array(
      'formatter' => 'collapsible',
      'instance_settings' => array(
        'description' => '',
        'classes' => ' group-channel field-group-fieldset',
        'required_fields' => 1,
      ),
    ),
  );
  $field_groups['group_channel|taxonomy_term|werkzeug_material|form'] = $field_group;

  $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_image|node|product|form';
  $field_group->group_name = 'group_image';
  $field_group->entity_type = 'node';
  $field_group->bundle = 'product';
  $field_group->mode = 'form';
  $field_group->parent_name = 'group_basic';
  $field_group->data = array(
    'label' => 'Image',
    'weight' => '6',
    'children' => array(
      0 => 'field_image',
      1 => 'field_image_url',
    ),
    'format_type' => 'fieldset',
    'format_settings' => array(
      'formatter' => 'collapsible',
      'instance_settings' => array(
        'description' => '',
        'classes' => 'group-image field-group-fieldset',
        'required_fields' => 1,
      ),
    ),
  );
  $field_groups['group_image|node|product|form'] = $field_group;

  $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_price_from_to|node|ct_werkzeug_und_material|form';
  $field_group->group_name = 'group_price_from_to';
  $field_group->entity_type = 'node';
  $field_group->bundle = 'ct_werkzeug';
  $field_group->mode = 'form';
  $field_group->parent_name = '';
  $field_group->data = array(
    'label' => 'Price From To',
    'weight' => '7',
    'children' => array(
      0 => 'field_price_from',
      1 => 'field_price_to',
    ),
    'format_type' => 'fieldset',
    'format_settings' => array(
      'formatter' => 'collapsible',
      'instance_settings' => array(
        'description' => '',
        'classes' => ' group-price-from-to field-group-fieldset',
        'required_fields' => 1,
      ),
    ),
  );
  $field_groups['group_price_from_to|node|ct_werkzeug_und_material|form'] = $field_group;

  $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_price_from_to|node|material|form';
  $field_group->group_name = 'group_price_from_to';
  $field_group->entity_type = 'node';
  $field_group->bundle = 'material';
  $field_group->mode = 'form';
  $field_group->parent_name = '';
  $field_group->data = array(
    'label' => 'Price From To',
    'weight' => '7',
    'children' => array(
      0 => 'field_tools_mu',
      1 => 'field_tools_su',
      2 => 'field_price_from',
      3 => 'field_price_to',
    ),
    'format_type' => 'fieldset',
    'format_settings' => array(
      'formatter' => 'collapsible',
      'instance_settings' => array(
        'description' => '',
        'classes' => ' group-price-from-to field-group-fieldset',
        'required_fields' => 1,
      ),
    ),
  );
  $field_groups['group_price_from_to|node|material|form'] = $field_group;

  $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_producer|node|product|form';
  $field_group->group_name = 'group_producer';
  $field_group->entity_type = 'node';
  $field_group->bundle = 'product';
  $field_group->mode = 'form';
  $field_group->parent_name = '';
  $field_group->data = array(
    'label' => 'Producer',
    'weight' => '3',
    'children' => array(
      0 => 'field_link',
      1 => 'field_price',
      2 => 'field_product_number',
    ),
    'format_type' => 'tab',
    'format_settings' => array(
      'formatter' => 'closed',
      'instance_settings' => array(
        'description' => '',
        'classes' => 'group-producer field-group-tab',
        'required_fields' => 1,
      ),
    ),
  );
  $field_groups['group_producer|node|product|form'] = $field_group;

  // Translatables
  // Included for use with string extractors like potx.
  t('Additional data');
  t('Basic');
  t('Channel');
  t('External source');
  t('Image');
  t('Price From To');
  t('Producer');

  return $field_groups;
}
