Files
jeunes-et-engages-d7/sites/all/modules/features/chapitre/chapitre.features.field_instance.inc
T

318 lines
7.8 KiB
PHP

<?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;
}