created page/panel onepage home

This commit is contained in:
Bachir Soussi Chiadmi
2017-01-22 19:42:04 +01:00
parent a0fadb0757
commit b9ce53c6a2
9 changed files with 1528 additions and 104 deletions
@@ -10,7 +10,220 @@
function clameurs_field_default_field_instances() {
$field_instances = array();
// Exported field_instance: 'node-documentair-body'
// Exported field_instance: 'cer-cer-cer_bidirectional'.
$field_instances['cer-cer-cer_bidirectional'] = array(
'bundle' => 'cer',
'default_value' => array(
0 => array(
'value' => 1,
),
),
'deleted' => 0,
'description' => '',
'display' => array(
'default' => array(
'label' => 'above',
'module' => 'list',
'settings' => array(),
'type' => 'list_default',
'weight' => 1,
),
),
'entity_type' => 'cer',
'field_name' => 'cer_bidirectional',
'label' => 'Bidirectional',
'required' => 0,
'settings' => array(
'entity_translation_sync' => FALSE,
'user_register_form' => FALSE,
),
'widget' => array(
'active' => 1,
'module' => 'options',
'settings' => array(
'display_label' => 1,
),
'type' => 'options_onoff',
'weight' => 3,
),
);
// Exported field_instance: 'cer-cer-cer_enabled'.
$field_instances['cer-cer-cer_enabled'] = array(
'bundle' => 'cer',
'default_value' => array(
0 => array(
'value' => 1,
),
),
'deleted' => 0,
'description' => '',
'display' => array(
'default' => array(
'label' => 'above',
'module' => 'list',
'settings' => array(),
'type' => 'list_default',
'weight' => 0,
),
),
'entity_type' => 'cer',
'field_name' => 'cer_enabled',
'label' => 'Enabled',
'required' => 0,
'settings' => array(
'entity_translation_sync' => FALSE,
'user_register_form' => FALSE,
),
'widget' => array(
'active' => 1,
'module' => 'options',
'settings' => array(
'display_label' => 1,
),
'type' => 'options_onoff',
'weight' => 2,
),
);
// Exported field_instance: 'cer-cer-cer_left'.
$field_instances['cer-cer-cer_left'] = array(
'bundle' => 'cer',
'default_value' => NULL,
'deleted' => 0,
'description' => '',
'display' => array(
'default' => array(
'label' => 'hidden',
'module' => 'field_object',
'settings' => array(),
'type' => 'field_object_label',
'weight' => 5,
),
),
'entity_type' => 'cer',
'field_name' => 'cer_left',
'label' => 'Left Field',
'required' => 1,
'settings' => array(
'entity_translation_sync' => FALSE,
'function' => 'CerFieldChain::collectAll',
'user_register_form' => FALSE,
),
'widget' => array(
'active' => 1,
'module' => 'options',
'settings' => array(),
'type' => 'options_select',
'weight' => 0,
),
);
// Exported field_instance: 'cer-cer-cer_right'.
$field_instances['cer-cer-cer_right'] = array(
'bundle' => 'cer',
'default_value' => NULL,
'deleted' => 0,
'description' => '',
'display' => array(
'default' => array(
'label' => 'hidden',
'module' => 'field_object',
'settings' => array(),
'type' => 'field_object_label',
'weight' => 6,
),
),
'entity_type' => 'cer',
'field_name' => 'cer_right',
'label' => 'Right Field',
'required' => 1,
'settings' => array(
'entity_translation_sync' => FALSE,
'function' => 'CerFieldChain::collectAll',
'user_register_form' => FALSE,
),
'widget' => array(
'active' => 1,
'module' => 'options',
'settings' => array(),
'type' => 'options_select',
'weight' => 1,
),
);
// Exported field_instance: 'cer-cer-cer_weight'.
$field_instances['cer-cer-cer_weight'] = array(
'bundle' => 'cer',
'default_value' => array(
0 => array(
'value' => 0,
),
),
'deleted' => 0,
'description' => '',
'display' => array(
'default' => array(
'label' => 'above',
'module' => 'list',
'settings' => array(),
'type' => 'list_default',
'weight' => 4,
),
),
'entity_type' => 'cer',
'field_name' => 'cer_weight',
'label' => 'Weight',
'required' => 1,
'settings' => array(
'entity_translation_sync' => FALSE,
'user_register_form' => FALSE,
),
'widget' => array(
'active' => 1,
'module' => 'options',
'settings' => array(),
'type' => 'options_select',
'weight' => 4,
),
);
// Exported field_instance: 'file-image-field_legende'.
$field_instances['file-image-field_legende'] = array(
'bundle' => 'image',
'default_value' => NULL,
'deleted' => 0,
'description' => '',
'display' => array(
'default' => array(
'label' => 'above',
'module' => 'text',
'settings' => array(),
'type' => 'text_default',
'weight' => 0,
),
),
'entity_type' => 'file',
'field_name' => 'field_legende',
'label' => 'Legende',
'required' => 0,
'settings' => array(
'entity_translation_sync' => FALSE,
'text_processing' => 0,
'user_register_form' => FALSE,
),
'widget' => array(
'active' => 1,
'module' => 'text',
'settings' => array(
'size' => 60,
),
'type' => 'text_textfield',
'weight' => 1,
),
);
// Exported field_instance: 'node-documentair-body'.
$field_instances['node-documentair-body'] = array(
'bundle' => 'documentair',
'default_value' => NULL,
@@ -31,7 +244,7 @@ function clameurs_field_default_field_instances() {
'trim_length' => 600,
),
'type' => 'text_summary_or_trimmed',
'weight' => 0,
'weight' => 2,
),
),
'entity_type' => 'node',
@@ -55,7 +268,7 @@ function clameurs_field_default_field_instances() {
),
);
// Exported field_instance: 'node-documentair-field_description'
// Exported field_instance: 'node-documentair-field_description'.
$field_instances['node-documentair-field_description'] = array(
'bundle' => 'documentair',
'default_value' => NULL,
@@ -73,7 +286,7 @@ function clameurs_field_default_field_instances() {
'label' => 'above',
'settings' => array(),
'type' => 'hidden',
'weight' => 0,
'weight' => 6,
),
),
'entity_type' => 'node',
@@ -101,7 +314,7 @@ function clameurs_field_default_field_instances() {
),
);
// Exported field_instance: 'node-documentair-field_doc'
// Exported field_instance: 'node-documentair-field_doc'.
$field_instances['node-documentair-field_doc'] = array(
'bundle' => 'documentair',
'default_value' => NULL,
@@ -118,9 +331,12 @@ function clameurs_field_default_field_instances() {
'weight' => 1,
),
'teaser' => array(
'label' => 'above',
'settings' => array(),
'type' => 'hidden',
'label' => 'hidden',
'module' => 'entityreference',
'settings' => array(
'link' => FALSE,
),
'type' => 'entityreference_label',
'weight' => 0,
),
),
@@ -146,7 +362,7 @@ function clameurs_field_default_field_instances() {
),
);
// Exported field_instance: 'node-documentair-field_thematique'
// Exported field_instance: 'node-documentair-field_thematique'.
$field_instances['node-documentair-field_thematique'] = array(
'bundle' => 'documentair',
'default_value' => NULL,
@@ -166,7 +382,7 @@ function clameurs_field_default_field_instances() {
'label' => 'above',
'settings' => array(),
'type' => 'hidden',
'weight' => 0,
'weight' => 5,
),
),
'entity_type' => 'node',
@@ -190,7 +406,7 @@ function clameurs_field_default_field_instances() {
),
);
// Exported field_instance: 'node-documentair-field_video'
// Exported field_instance: 'node-documentair-field_video'.
$field_instances['node-documentair-field_video'] = array(
'bundle' => 'documentair',
'default_value' => NULL,
@@ -205,10 +421,11 @@ function clameurs_field_default_field_instances() {
'weight' => 2,
),
'teaser' => array(
'label' => 'above',
'label' => 'hidden',
'module' => 'video_filter_field',
'settings' => array(),
'type' => 'hidden',
'weight' => 0,
'type' => 'video_filter_field_default',
'weight' => 1,
),
),
'entity_type' => 'node',
@@ -231,7 +448,7 @@ function clameurs_field_default_field_instances() {
),
);
// Exported field_instance: 'node-episode-body'
// Exported field_instance: 'node-episode-body'.
$field_instances['node-episode-body'] = array(
'bundle' => 'episode',
'default_value' => NULL,
@@ -252,7 +469,7 @@ function clameurs_field_default_field_instances() {
'trim_length' => 600,
),
'type' => 'text_summary_or_trimmed',
'weight' => 0,
'weight' => 2,
),
),
'entity_type' => 'node',
@@ -276,7 +493,7 @@ function clameurs_field_default_field_instances() {
),
);
// Exported field_instance: 'node-episode-field_description'
// Exported field_instance: 'node-episode-field_description'.
$field_instances['node-episode-field_description'] = array(
'bundle' => 'episode',
'default_value' => NULL,
@@ -294,7 +511,7 @@ function clameurs_field_default_field_instances() {
'label' => 'above',
'settings' => array(),
'type' => 'hidden',
'weight' => 0,
'weight' => 5,
),
),
'entity_type' => 'node',
@@ -322,7 +539,7 @@ function clameurs_field_default_field_instances() {
),
);
// Exported field_instance: 'node-episode-field_habiter'
// Exported field_instance: 'node-episode-field_habiter'.
$field_instances['node-episode-field_habiter'] = array(
'bundle' => 'episode',
'default_value' => NULL,
@@ -339,9 +556,12 @@ function clameurs_field_default_field_instances() {
'weight' => 3,
),
'teaser' => array(
'label' => 'above',
'settings' => array(),
'type' => 'hidden',
'label' => 'hidden',
'module' => 'entityreference',
'settings' => array(
'link' => FALSE,
),
'type' => 'entityreference_label',
'weight' => 0,
),
),
@@ -373,7 +593,7 @@ function clameurs_field_default_field_instances() {
),
);
// Exported field_instance: 'node-episode-field_thematique'
// Exported field_instance: 'node-episode-field_thematique'.
$field_instances['node-episode-field_thematique'] = array(
'bundle' => 'episode',
'default_value' => NULL,
@@ -393,7 +613,7 @@ function clameurs_field_default_field_instances() {
'label' => 'above',
'settings' => array(),
'type' => 'hidden',
'weight' => 0,
'weight' => 6,
),
),
'entity_type' => 'node',
@@ -417,7 +637,7 @@ function clameurs_field_default_field_instances() {
),
);
// Exported field_instance: 'node-episode-field_video'
// Exported field_instance: 'node-episode-field_video'.
$field_instances['node-episode-field_video'] = array(
'bundle' => 'episode',
'default_value' => NULL,
@@ -432,10 +652,11 @@ function clameurs_field_default_field_instances() {
'weight' => 1,
),
'teaser' => array(
'label' => 'above',
'label' => 'hidden',
'module' => 'video_filter_field',
'settings' => array(),
'type' => 'hidden',
'weight' => 0,
'type' => 'video_filter_field_default',
'weight' => 1,
),
),
'entity_type' => 'node',
@@ -458,7 +679,7 @@ function clameurs_field_default_field_instances() {
),
);
// Exported field_instance: 'node-thematique-body'
// Exported field_instance: 'node-thematique-body'.
$field_instances['node-thematique-body'] = array(
'bundle' => 'thematique',
'default_value' => NULL,
@@ -503,7 +724,7 @@ function clameurs_field_default_field_instances() {
),
);
// Exported field_instance: 'node-thematique-field_description'
// Exported field_instance: 'node-thematique-field_description'.
$field_instances['node-thematique-field_description'] = array(
'bundle' => 'thematique',
'default_value' => NULL,
@@ -549,7 +770,51 @@ function clameurs_field_default_field_instances() {
),
);
// Exported field_instance: 'node-thematique-field_ecouter'
// Exported field_instance: 'node-thematique-field_eclairages'.
$field_instances['node-thematique-field_eclairages'] = array(
'bundle' => 'thematique',
'default_value' => NULL,
'deleted' => 0,
'description' => '',
'display' => array(
'default' => array(
'label' => 'above',
'module' => 'entityreference',
'settings' => array(
'link' => FALSE,
),
'type' => 'entityreference_label',
'weight' => 6,
),
'teaser' => array(
'label' => 'above',
'settings' => array(),
'type' => 'hidden',
'weight' => 0,
),
),
'entity_type' => 'node',
'field_name' => 'field_eclairages',
'label' => 'éclairages',
'required' => 0,
'settings' => array(
'entity_translation_sync' => FALSE,
'user_register_form' => FALSE,
),
'widget' => array(
'active' => 1,
'module' => 'entityreference',
'settings' => array(
'match_operator' => 'CONTAINS',
'path' => '',
'size' => 60,
),
'type' => 'entityreference_autocomplete',
'weight' => 100,
),
);
// Exported field_instance: 'node-thematique-field_ecouter'.
$field_instances['node-thematique-field_ecouter'] = array(
'bundle' => 'thematique',
'default_value' => NULL,
@@ -591,7 +856,7 @@ function clameurs_field_default_field_instances() {
),
);
// Exported field_instance: 'node-thematique-field_episodes'
// Exported field_instance: 'node-thematique-field_episodes'.
$field_instances['node-thematique-field_episodes'] = array(
'bundle' => 'thematique',
'default_value' => NULL,
@@ -635,7 +900,7 @@ function clameurs_field_default_field_instances() {
),
);
// Exported field_instance: 'node-thematique-field_video'
// Exported field_instance: 'node-thematique-field_video'.
$field_instances['node-thematique-field_video'] = array(
'bundle' => 'thematique',
'default_value' => NULL,
@@ -678,14 +943,21 @@ function clameurs_field_default_field_instances() {
// Translatables
// Included for use with string extractors like potx.
t('Bidirectional');
t('Body');
t('Description');
t('Doc');
t('Enabled');
t('Habiter');
t('Left Field');
t('Legende');
t('Right Field');
t('Thématique');
t('Video');
t('Weight');
t('Écouter');
t('Épisodes');
t('éclairages');
return $field_instances;
}