123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130 |
- <?php
- /**
- * @file
- * chapitre.field_group.inc
- */
- /**
- * Implements hook_field_group_info().
- */
- function chapitre_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_general|node|chapitre|form';
- $field_group->group_name = 'group_general';
- $field_group->entity_type = 'node';
- $field_group->bundle = 'chapitre';
- $field_group->mode = 'form';
- $field_group->parent_name = 'group_htabs';
- $field_group->data = array(
- 'label' => 'Général',
- 'weight' => '8',
- 'children' => array(
- 0 => 'field_dbatre',
- 1 => 'field_agir',
- 2 => 'field_comprendre',
- 3 => 'field_partager',
- 4 => 'field_accroche',
- ),
- 'format_type' => 'htab',
- 'format_settings' => array(
- 'formatter' => 'closed',
- 'instance_settings' => array(
- 'description' => '',
- 'classes' => 'group-general field-group-htab',
- 'required_fields' => 1,
- 'id' => '',
- ),
- ),
- );
- $export['group_general|node|chapitre|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_htabs|node|chapitre|form';
- $field_group->group_name = 'group_htabs';
- $field_group->entity_type = 'node';
- $field_group->bundle = 'chapitre';
- $field_group->mode = 'form';
- $field_group->parent_name = '';
- $field_group->data = array(
- 'label' => 'htabs',
- 'weight' => '1',
- 'children' => array(
- 0 => 'group_general',
- 1 => 'group_parties',
- ),
- 'format_type' => 'htabs',
- 'format_settings' => array(
- 'formatter' => '',
- 'instance_settings' => array(
- 'classes' => 'group-htabs field-group-htabs',
- ),
- ),
- );
- $export['group_htabs|node|chapitre|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_parties|node|chapitre|form';
- $field_group->group_name = 'group_parties';
- $field_group->entity_type = 'node';
- $field_group->bundle = 'chapitre';
- $field_group->mode = 'form';
- $field_group->parent_name = 'group_htabs';
- $field_group->data = array(
- 'label' => 'Parties',
- 'weight' => '9',
- 'children' => array(
- 0 => 'field_partie',
- ),
- 'format_type' => 'htab',
- 'format_settings' => array(
- 'formatter' => 'closed',
- 'instance_settings' => array(
- 'description' => '',
- 'classes' => 'group-parties field-group-htab',
- 'required_fields' => 1,
- 'id' => '',
- ),
- ),
- );
- $export['group_parties|node|chapitre|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_texts|field_collection_item|field_partie|form';
- $field_group->group_name = 'group_texts';
- $field_group->entity_type = 'field_collection_item';
- $field_group->bundle = 'field_partie';
- $field_group->mode = 'form';
- $field_group->parent_name = '';
- $field_group->data = array(
- 'label' => 'texts',
- 'weight' => '1',
- 'children' => array(
- 0 => 'field_description',
- 1 => 'field_titre',
- 2 => 'field_sous_titre',
- ),
- 'format_type' => 'html5',
- 'format_settings' => array(
- 'label' => 'texts',
- 'instance_settings' => array(
- 'id' => '',
- 'classes' => 'group-texts',
- 'wrapper' => 'section',
- ),
- 'formatter' => '',
- ),
- );
- $export['group_texts|field_collection_item|field_partie|form'] = $field_group;
- return $export;
- }
|