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

/**
 * Implements hook_field_group_info().
 */
function popsu_documents_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_popsu_doc_basic|node|popsu_document|form';
  $field_group->group_name = 'group_popsu_doc_basic';
  $field_group->entity_type = 'node';
  $field_group->bundle = 'popsu_document';
  $field_group->mode = 'form';
  $field_group->parent_name = '';
  $field_group->data = array(
    'label' => 'Informations essentielles',
    'weight' => '0',
    'children' => array(
      0 => 'field_popsu_doc_type',
      1 => 'field_popsu_doc_files',
      2 => 'title',
    ),
    'format_type' => 'tab',
    'format_settings' => array(
      'formatter' => 'closed',
      'instance_settings' => array(
        'description' => '',
        'classes' => '',
        'required_fields' => 1,
      ),
    ),
  );
  $export['group_popsu_doc_basic|node|popsu_document|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_popsu_doc_meta|node|popsu_document|form';
  $field_group->group_name = 'group_popsu_doc_meta';
  $field_group->entity_type = 'node';
  $field_group->bundle = 'popsu_document';
  $field_group->mode = 'form';
  $field_group->parent_name = '';
  $field_group->data = array(
    'label' => 'Fiche descriptive',
    'weight' => '1',
    'children' => array(
      0 => 'field_popsu_doc_body',
      1 => 'field_popsu_doc_source',
    ),
    'format_type' => 'tab',
    'format_settings' => array(
      'formatter' => 'closed',
      'instance_settings' => array(
        'description' => '',
        'classes' => '',
        'required_fields' => 1,
      ),
    ),
  );
  $export['group_popsu_doc_meta|node|popsu_document|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_popsu_doc_noderef|node|popsu_document|form';
  $field_group->group_name = 'group_popsu_doc_noderef';
  $field_group->entity_type = 'node';
  $field_group->bundle = 'popsu_document';
  $field_group->mode = 'form';
  $field_group->parent_name = '';
  $field_group->data = array(
    'label' => 'Contenu réferrent',
    'weight' => '8',
    'children' => array(),
    'format_type' => 'fieldset',
    'format_settings' => array(
      'formatter' => 'collapsible',
      'instance_settings' => array(
        'description' => '',
        'classes' => '',
        'required_fields' => 1,
      ),
    ),
  );
  $export['group_popsu_doc_noderef|node|popsu_document|form'] = $field_group;

  return $export;
}
