123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190191192193194195196197198199200201202203204205206207208209210211212213214215216217218219220221222223224225226227228229230231232233234235236237238239240241242243244245246247248249250251252253254255256257258259260261262263264265266267268269270271272273274275276277278279280281282283284285286287288289290291292293294295296297298299300301302303304305306307308309310311312313314315316317 |
- <?php
- /**
- * @file
- * chapitre.features.field_instance.inc
- */
- /**
- * Implements hook_field_default_field_instances().
- */
- function chapitre_field_default_field_instances() {
- $field_instances = array();
- // Exported field_instance: 'field_collection_item-field_partie-field_description'
- $field_instances['field_collection_item-field_partie-field_description'] = array(
- 'bundle' => 'field_partie',
- 'default_value' => NULL,
- 'deleted' => 0,
- 'description' => '',
- 'display' => array(
- 'default' => array(
- 'label' => 'above',
- 'module' => 'text',
- 'settings' => array(),
- 'type' => 'text_default',
- 'weight' => 1,
- ),
- ),
- 'entity_type' => 'field_collection_item',
- 'field_name' => 'field_description',
- 'label' => 'Description',
- 'required' => 0,
- 'settings' => array(
- 'linkit' => array(
- 'button_text' => 'Recherche',
- 'enable' => 0,
- 'profile' => '',
- ),
- 'text_processing' => 0,
- 'user_register_form' => FALSE,
- ),
- 'widget' => array(
- 'active' => 1,
- 'module' => 'text',
- 'settings' => array(
- 'size' => 60,
- ),
- 'type' => 'text_textfield',
- 'weight' => 32,
- ),
- );
- // Exported field_instance: 'field_collection_item-field_partie-field_nom'
- $field_instances['field_collection_item-field_partie-field_nom'] = array(
- 'bundle' => 'field_partie',
- 'default_value' => NULL,
- 'deleted' => 0,
- 'description' => '',
- 'display' => array(
- 'default' => array(
- 'label' => 'above',
- 'module' => 'text',
- 'settings' => array(),
- 'type' => 'text_default',
- 'weight' => 0,
- ),
- ),
- 'entity_type' => 'field_collection_item',
- 'field_name' => 'field_nom',
- 'label' => 'Nom',
- 'required' => 0,
- 'settings' => array(
- 'linkit' => array(
- 'button_text' => 'Recherche',
- 'enable' => 0,
- 'profile' => '',
- ),
- 'text_processing' => 0,
- 'user_register_form' => FALSE,
- ),
- 'widget' => array(
- 'active' => 1,
- 'module' => 'text',
- 'settings' => array(
- 'size' => 60,
- ),
- 'type' => 'text_textfield',
- 'weight' => 31,
- ),
- );
- // Exported field_instance: 'field_collection_item-field_partie-field_video'
- $field_instances['field_collection_item-field_partie-field_video'] = array(
- 'bundle' => 'field_partie',
- 'default_value' => NULL,
- 'deleted' => 0,
- 'description' => '',
- 'display' => array(
- 'default' => array(
- 'label' => 'above',
- 'module' => 'video_embed_field',
- 'settings' => array(
- 'description' => 1,
- 'description_position' => 'bottom',
- 'video_style' => 'normal',
- ),
- 'type' => 'video_embed_field',
- 'weight' => 2,
- ),
- ),
- 'entity_type' => 'field_collection_item',
- 'field_name' => 'field_video',
- 'label' => 'Video',
- 'required' => 0,
- 'settings' => array(
- 'description_field' => 0,
- 'description_length' => 128,
- 'user_register_form' => FALSE,
- ),
- 'widget' => array(
- 'active' => 0,
- 'module' => 'video_embed_field',
- 'settings' => array(),
- 'type' => 'video_embed_field_video',
- 'weight' => 33,
- ),
- );
- // Exported field_instance: 'node-chapitre-field_agir'
- $field_instances['node-chapitre-field_agir'] = array(
- 'bundle' => 'chapitre',
- 'default_value' => NULL,
- 'deleted' => 0,
- 'description' => '',
- 'display' => array(
- 'default' => array(
- 'label' => 'above',
- 'module' => 'text',
- 'settings' => array(),
- 'type' => 'text_default',
- 'weight' => 3,
- ),
- 'teaser' => array(
- 'label' => 'above',
- 'settings' => array(),
- 'type' => 'hidden',
- 'weight' => 0,
- ),
- ),
- 'entity_type' => 'node',
- 'field_name' => 'field_agir',
- 'label' => 'Agir',
- 'required' => 0,
- 'settings' => array(
- 'linkit' => array(
- 'button_text' => 'Recherche',
- 'enable' => 0,
- 'profile' => '',
- ),
- 'text_processing' => 1,
- 'user_register_form' => FALSE,
- ),
- 'widget' => array(
- 'active' => 1,
- 'module' => 'text',
- 'settings' => array(
- 'rows' => 10,
- ),
- 'type' => 'text_textarea',
- 'weight' => 102,
- ),
- );
- // Exported field_instance: 'node-chapitre-field_comprendre'
- $field_instances['node-chapitre-field_comprendre'] = array(
- 'bundle' => 'chapitre',
- 'default_value' => NULL,
- 'deleted' => 0,
- 'description' => '',
- 'display' => array(
- 'default' => array(
- 'label' => 'above',
- 'module' => 'text',
- 'settings' => array(),
- 'type' => 'text_default',
- 'weight' => 4,
- ),
- 'teaser' => array(
- 'label' => 'above',
- 'settings' => array(),
- 'type' => 'hidden',
- 'weight' => 0,
- ),
- ),
- 'entity_type' => 'node',
- 'field_name' => 'field_comprendre',
- 'label' => 'Comprendre',
- 'required' => 0,
- 'settings' => array(
- 'linkit' => array(
- 'button_text' => 'Recherche',
- 'enable' => 0,
- 'profile' => '',
- ),
- 'text_processing' => 1,
- 'user_register_form' => FALSE,
- ),
- 'widget' => array(
- 'active' => 1,
- 'module' => 'text',
- 'settings' => array(
- 'rows' => 10,
- ),
- 'type' => 'text_textarea',
- 'weight' => 100,
- ),
- );
- // Exported field_instance: 'node-chapitre-field_dbatre'
- $field_instances['node-chapitre-field_dbatre'] = array(
- 'bundle' => 'chapitre',
- 'default_value' => NULL,
- 'deleted' => 0,
- 'description' => '',
- 'display' => array(
- 'default' => array(
- 'label' => 'above',
- 'module' => 'text',
- 'settings' => array(),
- 'type' => 'text_default',
- 'weight' => 2,
- ),
- 'teaser' => array(
- 'label' => 'above',
- 'settings' => array(),
- 'type' => 'hidden',
- 'weight' => 0,
- ),
- ),
- 'entity_type' => 'node',
- 'field_name' => 'field_dbatre',
- 'label' => 'Débatre',
- 'required' => 0,
- 'settings' => array(
- 'linkit' => array(
- 'button_text' => 'Recherche',
- 'enable' => 0,
- 'profile' => '',
- ),
- 'text_processing' => 1,
- 'user_register_form' => FALSE,
- ),
- 'widget' => array(
- 'active' => 1,
- 'module' => 'text',
- 'settings' => array(
- 'rows' => 10,
- ),
- 'type' => 'text_textarea',
- 'weight' => 101,
- ),
- );
- // Exported field_instance: 'node-chapitre-field_partie'
- $field_instances['node-chapitre-field_partie'] = array(
- 'bundle' => 'chapitre',
- 'default_value' => NULL,
- 'deleted' => 0,
- 'description' => '',
- 'display' => array(
- 'default' => array(
- 'label' => 'above',
- 'module' => 'field_collection',
- 'settings' => array(
- 'add' => 'Ajouter',
- 'delete' => 'Supprimer',
- 'description' => TRUE,
- 'edit' => 'Modifier',
- 'view_mode' => 'full',
- ),
- 'type' => 'field_collection_view',
- 'weight' => 1,
- ),
- 'teaser' => array(
- 'label' => 'above',
- 'settings' => array(),
- 'type' => 'hidden',
- 'weight' => 0,
- ),
- ),
- 'entity_type' => 'node',
- 'field_name' => 'field_partie',
- 'label' => 'Partie',
- 'required' => 0,
- 'settings' => array(
- 'user_register_form' => FALSE,
- ),
- 'widget' => array(
- 'active' => 0,
- 'module' => 'field_collection',
- 'settings' => array(),
- 'type' => 'field_collection_embed',
- 'weight' => 3,
- ),
- );
- // Translatables
- // Included for use with string extractors like potx.
- t('Agir');
- t('Comprendre');
- t('Description');
- t('Débatre');
- t('Nom');
- t('Partie');
- t('Video');
- return $field_instances;
- }
|