123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190191192193194195196197198199200201202203204205206207208209210211212213214215216217218219220221222223224225226227228229230231232233234235236237238239240241242243244245246247248249250251252253254255256257258259260261262263264265266267268269270271272273274275276277278279280281282283284285286287288289290291292293294295296297298299300301302303304305306307308309310311312313314315316317318319320321322323324325326327328329330331332333334335336337338339340341342343344345346347348349350351352353354355356357358359360361362363364365366367368369370371372373374375376377378379380381382383384385386387388389390391392393394395396397398399400401402403404405406407408409410411412413414415416417418419420421422423424425426427428429430431432433434435436437438439440441442443444445446447448449450451452453454455456457458459460461462463464465466467468469470471472473474475476477478479480481482483484485486487488489490491492493494495496497498499500501502503504505506507508509510511512513514515516517518519520521522523524525526527528529530531532533534535536537538539540541542543544545546547548549550551552553554555556557558559560561562563564565566567568569570571572573574575576577578579580581582583584585586587588589590591592593594595596597598599600601602603604605606607608609610611612613614615616617618619620621622623624625626627628629630631632633634635636637638639640641642643644645646647648649650651652653654655656657658659660661662663664665666667668669670671672673674675676677678679680681682683684685686687688689690691692693694695696697698699700701 |
- <?php
- /**
- * @file
- * clameurs.field_group.inc
- */
- /**
- * Implements hook_field_group_info().
- */
- function clameurs_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_body|node|thematique|teaser';
- $field_group->group_name = 'group_body';
- $field_group->entity_type = 'node';
- $field_group->bundle = 'thematique';
- $field_group->mode = 'teaser';
- $field_group->parent_name = '';
- $field_group->data = array(
- 'label' => 'Body',
- 'weight' => '0',
- 'children' => array(
- 0 => 'body',
- ),
- 'format_type' => 'html5',
- 'format_settings' => array(
- 'label' => 'Body',
- 'instance_settings' => array(
- 'id' => '',
- 'classes' => 'group-body field-group-html5',
- 'wrapper' => 'section',
- ),
- ),
- );
- $field_groups['group_body|node|thematique|teaser'] = $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_bottom|node|thematique|accueil';
- $field_group->group_name = 'group_bottom';
- $field_group->entity_type = 'node';
- $field_group->bundle = 'thematique';
- $field_group->mode = 'accueil';
- $field_group->parent_name = '';
- $field_group->data = array(
- 'label' => 'bottom',
- 'weight' => '2',
- 'children' => array(
- 0 => 'field_episodes',
- ),
- 'format_type' => 'html5',
- 'format_settings' => array(
- 'label' => 'bottom',
- 'instance_settings' => array(
- 'id' => '',
- 'classes' => 'bottom',
- 'wrapper' => 'aside',
- ),
- ),
- );
- $field_groups['group_bottom|node|thematique|accueil'] = $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_description|node|thematique|accueil';
- $field_group->group_name = 'group_description';
- $field_group->entity_type = 'node';
- $field_group->bundle = 'thematique';
- $field_group->mode = 'accueil';
- $field_group->parent_name = 'group_video';
- $field_group->data = array(
- 'label' => 'description',
- 'weight' => '9',
- 'children' => array(
- 0 => 'field_description',
- 1 => 'field_ecouter',
- ),
- 'format_type' => 'div',
- 'format_settings' => array(
- 'label' => 'description',
- 'instance_settings' => array(
- 'id' => '',
- 'classes' => 'group-description field-group-div',
- 'description' => '',
- 'show_label' => '0',
- 'label_element' => 'h3',
- 'effect' => 'none',
- 'speed' => 'fast',
- ),
- 'formatter' => 'open',
- ),
- );
- $field_groups['group_description|node|thematique|accueil'] = $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_eclairage|node|thematique|form';
- $field_group->group_name = 'group_eclairage';
- $field_group->entity_type = 'node';
- $field_group->bundle = 'thematique';
- $field_group->mode = 'form';
- $field_group->parent_name = 'group_htabs';
- $field_group->data = array(
- 'label' => 'Éclairages',
- 'weight' => '108',
- 'children' => array(
- 0 => 'field_eclairages',
- ),
- 'format_type' => 'htab',
- 'format_settings' => array(
- 'label' => 'Éclairages',
- 'instance_settings' => array(
- 'required_fields' => 1,
- 'classes' => 'group-eclairage field-group-htab',
- 'description' => '',
- ),
- 'formatter' => 'closed',
- ),
- );
- $field_groups['group_eclairage|node|thematique|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_episodes|node|thematique|form';
- $field_group->group_name = 'group_episodes';
- $field_group->entity_type = 'node';
- $field_group->bundle = 'thematique';
- $field_group->mode = 'form';
- $field_group->parent_name = 'group_htabs';
- $field_group->data = array(
- 'label' => 'Épisodes',
- 'weight' => '107',
- 'children' => array(
- 0 => 'field_episodes',
- ),
- 'format_type' => 'htab',
- 'format_settings' => array(
- 'formatter' => 'closed',
- 'instance_settings' => array(
- 'description' => '',
- 'classes' => 'group-episodes field-group-htab',
- 'required_fields' => 1,
- 'id' => '',
- ),
- ),
- );
- $field_groups['group_episodes|node|thematique|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|documentair|form';
- $field_group->group_name = 'group_htabs';
- $field_group->entity_type = 'node';
- $field_group->bundle = 'documentair';
- $field_group->mode = 'form';
- $field_group->parent_name = '';
- $field_group->data = array(
- 'label' => 'htabs',
- 'weight' => '3',
- 'children' => array(
- 0 => 'group_texte',
- 1 => 'group_video',
- ),
- 'format_type' => 'htabs',
- 'format_settings' => array(
- 'formatter' => '',
- 'instance_settings' => array(
- 'classes' => 'group-htabs field-group-htabs',
- ),
- ),
- );
- $field_groups['group_htabs|node|documentair|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|episode|form';
- $field_group->group_name = 'group_htabs';
- $field_group->entity_type = 'node';
- $field_group->bundle = 'episode';
- $field_group->mode = 'form';
- $field_group->parent_name = '';
- $field_group->data = array(
- 'label' => 'htabs',
- 'weight' => '3',
- 'children' => array(
- 0 => 'group_texte',
- 1 => 'group_video',
- ),
- 'format_type' => 'htabs',
- 'format_settings' => array(
- 'formatter' => '',
- 'instance_settings' => array(
- 'classes' => 'group-htabs field-group-htabs',
- ),
- ),
- );
- $field_groups['group_htabs|node|episode|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|thematique|form';
- $field_group->group_name = 'group_htabs';
- $field_group->entity_type = 'node';
- $field_group->bundle = 'thematique';
- $field_group->mode = 'form';
- $field_group->parent_name = '';
- $field_group->data = array(
- 'label' => 'htabs',
- 'weight' => '2',
- 'children' => array(
- 0 => 'group_video',
- 1 => 'group_texte',
- 2 => 'group_episodes',
- 3 => 'group_eclairage',
- ),
- 'format_type' => 'htabs',
- 'format_settings' => array(
- 'formatter' => '',
- 'instance_settings' => array(
- 'classes' => 'group-htabs field-group-htabs',
- ),
- ),
- );
- $field_groups['group_htabs|node|thematique|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_main|node|thematique|accueil';
- $field_group->group_name = 'group_main';
- $field_group->entity_type = 'node';
- $field_group->bundle = 'thematique';
- $field_group->mode = 'accueil';
- $field_group->parent_name = '';
- $field_group->data = array(
- 'label' => 'main',
- 'weight' => '0',
- 'children' => array(
- 0 => 'group_txt',
- 1 => 'group_video',
- ),
- 'format_type' => 'html5',
- 'format_settings' => array(
- 'label' => 'main',
- 'instance_settings' => array(
- 'id' => '',
- 'classes' => 'main',
- 'wrapper' => 'article',
- ),
- ),
- );
- $field_groups['group_main|node|thematique|accueil'] = $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_right|node|thematique|accueil';
- $field_group->group_name = 'group_right';
- $field_group->entity_type = 'node';
- $field_group->bundle = 'thematique';
- $field_group->mode = 'accueil';
- $field_group->parent_name = '';
- $field_group->data = array(
- 'label' => 'right',
- 'weight' => '1',
- 'children' => array(
- 0 => 'field_eclairages',
- ),
- 'format_type' => 'html5',
- 'format_settings' => array(
- 'label' => 'right',
- 'instance_settings' => array(
- 'id' => '',
- 'classes' => 'right',
- 'wrapper' => 'aside',
- ),
- ),
- );
- $field_groups['group_right|node|thematique|accueil'] = $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_texte|node|documentair|form';
- $field_group->group_name = 'group_texte';
- $field_group->entity_type = 'node';
- $field_group->bundle = 'documentair';
- $field_group->mode = 'form';
- $field_group->parent_name = 'group_htabs';
- $field_group->data = array(
- 'label' => 'Texte',
- 'weight' => '4',
- 'children' => array(
- 0 => 'body',
- ),
- 'format_type' => 'htab',
- 'format_settings' => array(
- 'formatter' => 'closed',
- 'instance_settings' => array(
- 'description' => '',
- 'classes' => 'group-texte field-group-htab',
- 'required_fields' => 1,
- 'id' => '',
- ),
- ),
- );
- $field_groups['group_texte|node|documentair|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_texte|node|episode|form';
- $field_group->group_name = 'group_texte';
- $field_group->entity_type = 'node';
- $field_group->bundle = 'episode';
- $field_group->mode = 'form';
- $field_group->parent_name = 'group_htabs';
- $field_group->data = array(
- 'label' => 'Texte',
- 'weight' => '9',
- 'children' => array(
- 0 => 'body',
- ),
- 'format_type' => 'htab',
- 'format_settings' => array(
- 'formatter' => 'closed',
- 'instance_settings' => array(
- 'description' => '',
- 'classes' => 'group-texte field-group-htab',
- 'required_fields' => 1,
- 'id' => '',
- ),
- ),
- );
- $field_groups['group_texte|node|episode|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_texte|node|thematique|form';
- $field_group->group_name = 'group_texte';
- $field_group->entity_type = 'node';
- $field_group->bundle = 'thematique';
- $field_group->mode = 'form';
- $field_group->parent_name = 'group_htabs';
- $field_group->data = array(
- 'label' => 'Texte',
- 'weight' => '105',
- 'children' => array(
- 0 => 'body',
- ),
- 'format_type' => 'fieldset',
- 'format_settings' => array(
- 'formatter' => 'collapsible',
- 'instance_settings' => array(
- 'description' => '',
- 'classes' => 'group-texte field-group-fieldset',
- 'required_fields' => 1,
- ),
- ),
- );
- $field_groups['group_texte|node|thematique|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_txt|node|documentair|accueil';
- $field_group->group_name = 'group_txt';
- $field_group->entity_type = 'node';
- $field_group->bundle = 'documentair';
- $field_group->mode = 'accueil';
- $field_group->parent_name = '';
- $field_group->data = array(
- 'label' => 'txt',
- 'weight' => '1',
- 'children' => array(
- 0 => 'field_doc',
- 1 => 'title_field',
- ),
- 'format_type' => 'div',
- 'format_settings' => array(
- 'label' => 'txt',
- 'instance_settings' => array(
- 'id' => '',
- 'classes' => 'group-txt field-group-div',
- 'description' => '',
- 'show_label' => '0',
- 'label_element' => 'h3',
- 'effect' => 'none',
- 'speed' => 'fast',
- ),
- 'formatter' => 'open',
- ),
- );
- $field_groups['group_txt|node|documentair|accueil'] = $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_txt|node|episode|accueil';
- $field_group->group_name = 'group_txt';
- $field_group->entity_type = 'node';
- $field_group->bundle = 'episode';
- $field_group->mode = 'accueil';
- $field_group->parent_name = '';
- $field_group->data = array(
- 'label' => 'txt',
- 'weight' => '1',
- 'children' => array(
- 0 => 'title_field',
- ),
- 'format_type' => 'div',
- 'format_settings' => array(
- 'label' => 'txt',
- 'instance_settings' => array(
- 'id' => '',
- 'classes' => 'group-txt field-group-div',
- 'description' => '',
- 'show_label' => '0',
- 'label_element' => 'h3',
- 'effect' => 'none',
- 'speed' => 'fast',
- ),
- 'formatter' => 'open',
- ),
- );
- $field_groups['group_txt|node|episode|accueil'] = $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_txt|node|thematique|accueil';
- $field_group->group_name = 'group_txt';
- $field_group->entity_type = 'node';
- $field_group->bundle = 'thematique';
- $field_group->mode = 'accueil';
- $field_group->parent_name = 'group_main';
- $field_group->data = array(
- 'label' => 'txt',
- 'weight' => '1',
- 'children' => array(
- 0 => 'body',
- ),
- 'format_type' => 'div',
- 'format_settings' => array(
- 'label' => 'txt',
- 'instance_settings' => array(
- 'id' => '',
- 'classes' => 'group-txt field-group-div',
- 'description' => '',
- 'show_label' => '0',
- 'label_element' => 'h3',
- 'effect' => 'none',
- 'speed' => 'fast',
- ),
- 'formatter' => 'open',
- ),
- );
- $field_groups['group_txt|node|thematique|accueil'] = $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_video|node|documentair|accueil';
- $field_group->group_name = 'group_video';
- $field_group->entity_type = 'node';
- $field_group->bundle = 'documentair';
- $field_group->mode = 'accueil';
- $field_group->parent_name = '';
- $field_group->data = array(
- 'label' => 'video',
- 'weight' => '2',
- 'children' => array(
- 0 => 'field_emvideo',
- ),
- 'format_type' => 'div',
- 'format_settings' => array(
- 'label' => 'video',
- 'instance_settings' => array(
- 'id' => '',
- 'classes' => 'group-video field-group-div',
- 'description' => '',
- 'show_label' => '0',
- 'label_element' => 'h3',
- 'effect' => 'none',
- 'speed' => 'fast',
- ),
- 'formatter' => 'open',
- ),
- );
- $field_groups['group_video|node|documentair|accueil'] = $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_video|node|documentair|form';
- $field_group->group_name = 'group_video';
- $field_group->entity_type = 'node';
- $field_group->bundle = 'documentair';
- $field_group->mode = 'form';
- $field_group->parent_name = 'group_htabs';
- $field_group->data = array(
- 'label' => 'Video',
- 'weight' => '5',
- 'children' => array(
- 0 => 'field_video',
- 1 => 'field_description',
- 2 => 'field_emvideo',
- ),
- 'format_type' => 'htab',
- 'format_settings' => array(
- 'formatter' => 'closed',
- 'instance_settings' => array(
- 'description' => '',
- 'classes' => 'group-video field-group-htab',
- 'required_fields' => 1,
- 'id' => '',
- ),
- ),
- );
- $field_groups['group_video|node|documentair|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_video|node|episode|accueil';
- $field_group->group_name = 'group_video';
- $field_group->entity_type = 'node';
- $field_group->bundle = 'episode';
- $field_group->mode = 'accueil';
- $field_group->parent_name = '';
- $field_group->data = array(
- 'label' => 'Video',
- 'weight' => '2',
- 'children' => array(
- 0 => 'field_emvideo',
- ),
- 'format_type' => 'div',
- 'format_settings' => array(
- 'label' => 'Video',
- 'instance_settings' => array(
- 'id' => '',
- 'classes' => 'group-video field-group-div',
- 'description' => '',
- 'show_label' => '0',
- 'label_element' => 'h3',
- 'effect' => 'none',
- 'speed' => 'fast',
- ),
- 'formatter' => 'open',
- ),
- );
- $field_groups['group_video|node|episode|accueil'] = $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_video|node|episode|form';
- $field_group->group_name = 'group_video';
- $field_group->entity_type = 'node';
- $field_group->bundle = 'episode';
- $field_group->mode = 'form';
- $field_group->parent_name = 'group_htabs';
- $field_group->data = array(
- 'label' => 'Video',
- 'weight' => '10',
- 'children' => array(
- 0 => 'field_video',
- 1 => 'field_description',
- 2 => 'field_emvideo',
- ),
- 'format_type' => 'htab',
- 'format_settings' => array(
- 'formatter' => 'closed',
- 'instance_settings' => array(
- 'description' => '',
- 'classes' => 'group-video field-group-htab',
- 'required_fields' => 1,
- 'id' => '',
- ),
- ),
- );
- $field_groups['group_video|node|episode|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_video|node|thematique|accueil';
- $field_group->group_name = 'group_video';
- $field_group->entity_type = 'node';
- $field_group->bundle = 'thematique';
- $field_group->mode = 'accueil';
- $field_group->parent_name = 'group_main';
- $field_group->data = array(
- 'label' => 'video',
- 'weight' => '2',
- 'children' => array(
- 0 => 'field_emvideo',
- 1 => 'group_description',
- ),
- 'format_type' => 'div',
- 'format_settings' => array(
- 'label' => 'video',
- 'instance_settings' => array(
- 'id' => '',
- 'classes' => 'group-video field-group-div',
- 'description' => '',
- 'show_label' => '0',
- 'label_element' => 'h3',
- 'effect' => 'none',
- 'speed' => 'fast',
- ),
- 'formatter' => 'open',
- ),
- );
- $field_groups['group_video|node|thematique|accueil'] = $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_video|node|thematique|form';
- $field_group->group_name = 'group_video';
- $field_group->entity_type = 'node';
- $field_group->bundle = 'thematique';
- $field_group->mode = 'form';
- $field_group->parent_name = 'group_htabs';
- $field_group->data = array(
- 'label' => 'Video',
- 'weight' => '106',
- 'children' => array(
- 0 => 'field_description',
- 1 => 'field_emvideo',
- ),
- 'format_type' => 'htab',
- 'format_settings' => array(
- 'formatter' => 'closed',
- 'instance_settings' => array(
- 'description' => '',
- 'classes' => 'group-video field-group-htab',
- 'required_fields' => 1,
- 'id' => '',
- ),
- ),
- );
- $field_groups['group_video|node|thematique|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_video|node|thematique|teaser';
- $field_group->group_name = 'group_video';
- $field_group->entity_type = 'node';
- $field_group->bundle = 'thematique';
- $field_group->mode = 'teaser';
- $field_group->parent_name = '';
- $field_group->data = array(
- 'label' => 'video',
- 'weight' => '1',
- 'children' => array(
- 0 => 'field_description',
- 1 => 'field_emvideo',
- ),
- 'format_type' => 'html5',
- 'format_settings' => array(
- 'formatter' => '',
- 'instance_settings' => array(
- 'wrapper' => '',
- 'classes' => 'group-video field-group-html5',
- 'id' => '',
- ),
- ),
- );
- $field_groups['group_video|node|thematique|teaser'] = $field_group;
- // Translatables
- // Included for use with string extractors like potx.
- t('Body');
- t('Texte');
- t('Video');
- t('bottom');
- t('description');
- t('htabs');
- t('main');
- t('right');
- t('txt');
- t('video');
- t('Éclairages');
- t('Épisodes');
- return $field_groups;
- }
|