123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190191192193194195196197198199200201202203204205206207208209210211212213214215216217218219220221222223224225226227228229230231232233234235236237238239240241242243244245246247248249250251252253254255256257258259260261262263264265266267268269270271272273274275276277278279280281282283284285 |
- <?php
- /**
- * @file
- * popsu_projets.field_group.inc
- */
- /**
- * Implements hook_field_group_info().
- */
- function popsu_projets_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_projet_acteurs|node|popsu_projet|form';
- $field_group->group_name = 'group_popsu_projet_acteurs';
- $field_group->entity_type = 'node';
- $field_group->bundle = 'popsu_projet';
- $field_group->mode = 'form';
- $field_group->parent_name = '';
- $field_group->data = array(
- 'label' => 'Acteurs',
- 'weight' => '8',
- 'children' => array(
- 0 => 'field_popsu_projet_acteurs',
- ),
- 'format_type' => 'tab',
- 'format_settings' => array(
- 'formatter' => 'closed',
- 'instance_settings' => array(
- 'description' => '',
- 'classes' => '',
- 'required_fields' => 1,
- ),
- ),
- );
- $export['group_popsu_projet_acteurs|node|popsu_projet|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_projet_adresse|node|popsu_projet|form';
- $field_group->group_name = 'group_popsu_projet_adresse';
- $field_group->entity_type = 'node';
- $field_group->bundle = 'popsu_projet';
- $field_group->mode = 'form';
- $field_group->parent_name = '';
- $field_group->data = array(
- 'label' => 'Localisation du projet',
- 'weight' => '9',
- 'children' => array(
- 0 => 'field_popsu_projet_adresse',
- 1 => 'field_popsu_projet_geoloc',
- ),
- 'format_type' => 'tab',
- 'format_settings' => array(
- 'label' => 'Localisation du projet',
- 'instance_settings' => array(
- 'required_fields' => 1,
- 'classes' => '',
- 'description' => '',
- ),
- 'formatter' => 'closed',
- ),
- );
- $export['group_popsu_projet_adresse|node|popsu_projet|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_projet_basic|node|popsu_projet|form';
- $field_group->group_name = 'group_popsu_projet_basic';
- $field_group->entity_type = 'node';
- $field_group->bundle = 'popsu_projet';
- $field_group->mode = 'form';
- $field_group->parent_name = '';
- $field_group->data = array(
- 'label' => 'Informations essentielles',
- 'weight' => '3',
- 'children' => array(
- 0 => 'field_popsu_projet_commune',
- 1 => 'title',
- ),
- 'format_type' => 'tab',
- 'format_settings' => array(
- 'formatter' => 'closed',
- 'instance_settings' => array(
- 'description' => '',
- 'classes' => '',
- 'required_fields' => 1,
- ),
- ),
- );
- $export['group_popsu_projet_basic|node|popsu_projet|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_projet_chronologie|node|popsu_projet|form';
- $field_group->group_name = 'group_popsu_projet_chronologie';
- $field_group->entity_type = 'node';
- $field_group->bundle = 'popsu_projet';
- $field_group->mode = 'form';
- $field_group->parent_name = '';
- $field_group->data = array(
- 'label' => 'Chronologie',
- 'weight' => '6',
- 'children' => array(
- 0 => 'field_popsu_projet_demarche',
- ),
- 'format_type' => 'tab',
- 'format_settings' => array(
- 'formatter' => 'closed',
- 'instance_settings' => array(
- 'description' => '',
- 'classes' => '',
- 'required_fields' => 1,
- ),
- ),
- );
- $export['group_popsu_projet_chronologie|node|popsu_projet|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_projet_images|node|popsu_projet|form';
- $field_group->group_name = 'group_popsu_projet_images';
- $field_group->entity_type = 'node';
- $field_group->bundle = 'popsu_projet';
- $field_group->mode = 'form';
- $field_group->parent_name = '';
- $field_group->data = array(
- 'label' => 'Images',
- 'weight' => '10',
- 'children' => array(
- 0 => 'field_popsu_projet_imageintro',
- 1 => 'field_popsu_projet_imagelocalise',
- ),
- 'format_type' => 'tab',
- 'format_settings' => array(
- 'formatter' => 'closed',
- 'instance_settings' => array(
- 'description' => '',
- 'classes' => '',
- 'required_fields' => 1,
- ),
- ),
- );
- $export['group_popsu_projet_images|node|popsu_projet|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_projet_intro|node|popsu_projet|form';
- $field_group->group_name = 'group_popsu_projet_intro';
- $field_group->entity_type = 'node';
- $field_group->bundle = 'popsu_projet';
- $field_group->mode = 'form';
- $field_group->parent_name = '';
- $field_group->data = array(
- 'label' => 'Introduction',
- 'weight' => '4',
- 'children' => array(
- 0 => 'field_popsu_projet_presentation',
- ),
- 'format_type' => 'tab',
- 'format_settings' => array(
- 'formatter' => 'closed',
- 'instance_settings' => array(
- 'description' => '',
- 'classes' => '',
- 'required_fields' => 1,
- ),
- ),
- );
- $export['group_popsu_projet_intro|node|popsu_projet|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_projet_lies|node|popsu_projet|form';
- $field_group->group_name = 'group_popsu_projet_lies';
- $field_group->entity_type = 'node';
- $field_group->bundle = 'popsu_projet';
- $field_group->mode = 'form';
- $field_group->parent_name = '';
- $field_group->data = array(
- 'label' => 'Contenus liés',
- 'weight' => '11',
- 'children' => array(
- 0 => 'field_popsu_projet_lies',
- 1 => 'field_popsu_projet_comparatif',
- ),
- 'format_type' => 'tab',
- 'format_settings' => array(
- 'formatter' => 'closed',
- 'instance_settings' => array(
- 'description' => '',
- 'classes' => '',
- 'required_fields' => 1,
- ),
- ),
- );
- $export['group_popsu_projet_lies|node|popsu_projet|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_projet_methodo|node|popsu_projet|form';
- $field_group->group_name = 'group_popsu_projet_methodo';
- $field_group->entity_type = 'node';
- $field_group->bundle = 'popsu_projet';
- $field_group->mode = 'form';
- $field_group->parent_name = '';
- $field_group->data = array(
- 'label' => 'Démarche & méthodologie',
- 'weight' => '5',
- 'children' => array(
- 0 => 'field_popsu_projet_methodo',
- ),
- 'format_type' => 'tab',
- 'format_settings' => array(
- 'formatter' => 'closed',
- 'instance_settings' => array(
- 'description' => '',
- 'classes' => '',
- 'required_fields' => 1,
- ),
- ),
- );
- $export['group_popsu_projet_methodo|node|popsu_projet|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_projet_programme|node|popsu_projet|form';
- $field_group->group_name = 'group_popsu_projet_programme';
- $field_group->entity_type = 'node';
- $field_group->bundle = 'popsu_projet';
- $field_group->mode = 'form';
- $field_group->parent_name = '';
- $field_group->data = array(
- 'label' => 'Programme',
- 'weight' => '7',
- 'children' => array(
- 0 => 'field_popsu_projet_programme',
- ),
- 'format_type' => 'tab',
- 'format_settings' => array(
- 'formatter' => 'closed',
- 'instance_settings' => array(
- 'description' => '',
- 'classes' => '',
- 'required_fields' => 1,
- ),
- ),
- );
- $export['group_popsu_projet_programme|node|popsu_projet|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_projet_title|node|popsu_projet|form';
- $field_group->group_name = 'group_popsu_projet_title';
- $field_group->entity_type = 'node';
- $field_group->bundle = 'popsu_projet';
- $field_group->mode = 'form';
- $field_group->parent_name = '';
- $field_group->data = array(
- 'label' => 'Type de contenu "Projet"',
- 'weight' => '2',
- 'children' => array(),
- 'format_type' => 'tabs',
- 'format_settings' => array(
- 'formatter' => '',
- 'instance_settings' => array(
- 'classes' => '',
- ),
- ),
- );
- $export['group_popsu_projet_title|node|popsu_projet|form'] = $field_group;
- return $export;
- }
|