415 lines
9.6 KiB
PHP
415 lines
9.6 KiB
PHP
<?php
|
|
/**
|
|
* @file
|
|
* clameurs.features.field_base.inc
|
|
*/
|
|
|
|
/**
|
|
* Implements hook_field_default_field_bases().
|
|
*/
|
|
function clameurs_field_default_field_bases() {
|
|
$field_bases = array();
|
|
|
|
// Exported field_base: 'cer_bidirectional'.
|
|
$field_bases['cer_bidirectional'] = array(
|
|
'active' => 1,
|
|
'cardinality' => 1,
|
|
'deleted' => 0,
|
|
'entity_types' => array(),
|
|
'field_name' => 'cer_bidirectional',
|
|
'indexes' => array(
|
|
'value' => array(
|
|
0 => 'value',
|
|
),
|
|
),
|
|
'locked' => 0,
|
|
'module' => 'list',
|
|
'settings' => array(
|
|
'allowed_values' => array(
|
|
0 => 0,
|
|
1 => 1,
|
|
),
|
|
'allowed_values_function' => '',
|
|
'entity_translation_sync' => FALSE,
|
|
),
|
|
'translatable' => 0,
|
|
'type' => 'list_boolean',
|
|
);
|
|
|
|
// Exported field_base: 'cer_enabled'.
|
|
$field_bases['cer_enabled'] = array(
|
|
'active' => 1,
|
|
'cardinality' => 1,
|
|
'deleted' => 0,
|
|
'entity_types' => array(),
|
|
'field_name' => 'cer_enabled',
|
|
'indexes' => array(
|
|
'value' => array(
|
|
0 => 'value',
|
|
),
|
|
),
|
|
'locked' => 1,
|
|
'module' => 'list',
|
|
'settings' => array(
|
|
'allowed_values' => array(
|
|
0 => 0,
|
|
1 => 1,
|
|
),
|
|
'allowed_values_function' => '',
|
|
'entity_translation_sync' => FALSE,
|
|
),
|
|
'translatable' => 0,
|
|
'type' => 'list_boolean',
|
|
);
|
|
|
|
// Exported field_base: 'cer_left'.
|
|
$field_bases['cer_left'] = array(
|
|
'active' => 1,
|
|
'cardinality' => 1,
|
|
'deleted' => 0,
|
|
'entity_types' => array(),
|
|
'field_name' => 'cer_left',
|
|
'indexes' => array(),
|
|
'locked' => 1,
|
|
'module' => 'field_object',
|
|
'settings' => array(
|
|
'entity_translation_sync' => FALSE,
|
|
),
|
|
'translatable' => 0,
|
|
'type' => 'field_object',
|
|
);
|
|
|
|
// Exported field_base: 'cer_right'.
|
|
$field_bases['cer_right'] = array(
|
|
'active' => 1,
|
|
'cardinality' => 1,
|
|
'deleted' => 0,
|
|
'entity_types' => array(),
|
|
'field_name' => 'cer_right',
|
|
'indexes' => array(),
|
|
'locked' => 1,
|
|
'module' => 'field_object',
|
|
'settings' => array(
|
|
'entity_translation_sync' => FALSE,
|
|
),
|
|
'translatable' => 0,
|
|
'type' => 'field_object',
|
|
);
|
|
|
|
// Exported field_base: 'cer_weight'.
|
|
$field_bases['cer_weight'] = array(
|
|
'active' => 1,
|
|
'cardinality' => 1,
|
|
'deleted' => 0,
|
|
'entity_types' => array(),
|
|
'field_name' => 'cer_weight',
|
|
'indexes' => array(
|
|
'value' => array(
|
|
0 => 'value',
|
|
),
|
|
),
|
|
'locked' => 0,
|
|
'module' => 'list',
|
|
'settings' => array(
|
|
'allowed_values' => array(),
|
|
'allowed_values_function' => 'cer_weight_options',
|
|
'entity_translation_sync' => FALSE,
|
|
),
|
|
'translatable' => 0,
|
|
'type' => 'list_integer',
|
|
);
|
|
|
|
// Exported field_base: 'field_description'.
|
|
$field_bases['field_description'] = array(
|
|
'active' => 1,
|
|
'cardinality' => 1,
|
|
'deleted' => 0,
|
|
'entity_types' => array(),
|
|
'field_name' => 'field_description',
|
|
'field_permissions' => array(
|
|
'type' => 0,
|
|
),
|
|
'indexes' => array(
|
|
'format' => array(
|
|
0 => 'format',
|
|
),
|
|
),
|
|
'locked' => 0,
|
|
'module' => 'text',
|
|
'settings' => array(
|
|
'entity_translation_sync' => FALSE,
|
|
),
|
|
'translatable' => 0,
|
|
'type' => 'text_long',
|
|
);
|
|
|
|
// Exported field_base: 'field_doc'.
|
|
$field_bases['field_doc'] = array(
|
|
'active' => 1,
|
|
'cardinality' => 1,
|
|
'deleted' => 0,
|
|
'entity_types' => array(),
|
|
'field_name' => 'field_doc',
|
|
'field_permissions' => array(
|
|
'type' => 0,
|
|
),
|
|
'indexes' => array(
|
|
'target_id' => array(
|
|
0 => 'target_id',
|
|
),
|
|
),
|
|
'locked' => 0,
|
|
'module' => 'entityreference',
|
|
'settings' => array(
|
|
'entity_translation_sync' => FALSE,
|
|
'handler' => 'views',
|
|
'handler_settings' => array(
|
|
'behaviors' => array(
|
|
'views-select-list' => array(
|
|
'status' => 0,
|
|
),
|
|
),
|
|
'view' => array(
|
|
'args' => array(),
|
|
'display_name' => 'entityreference_1',
|
|
'view_name' => 'actions_filter',
|
|
),
|
|
),
|
|
'target_type' => 'taxonomy_term',
|
|
),
|
|
'translatable' => 0,
|
|
'type' => 'entityreference',
|
|
);
|
|
|
|
// Exported field_base: 'field_eclairages'.
|
|
$field_bases['field_eclairages'] = array(
|
|
'active' => 1,
|
|
'cardinality' => 3,
|
|
'deleted' => 0,
|
|
'entity_types' => array(),
|
|
'field_name' => 'field_eclairages',
|
|
'field_permissions' => array(
|
|
'type' => 0,
|
|
),
|
|
'indexes' => array(
|
|
'target_id' => array(
|
|
0 => 'target_id',
|
|
),
|
|
),
|
|
'locked' => 0,
|
|
'module' => 'entityreference',
|
|
'settings' => array(
|
|
'entity_translation_sync' => FALSE,
|
|
'handler' => 'base',
|
|
'handler_settings' => array(
|
|
'behaviors' => array(
|
|
'views-select-list' => array(
|
|
'status' => 0,
|
|
),
|
|
),
|
|
'sort' => array(
|
|
'type' => 'none',
|
|
),
|
|
'target_bundles' => array(
|
|
'documentair' => 'documentair',
|
|
),
|
|
),
|
|
'target_type' => 'node',
|
|
),
|
|
'translatable' => 0,
|
|
'type' => 'entityreference',
|
|
);
|
|
|
|
// Exported field_base: 'field_ecouter'.
|
|
$field_bases['field_ecouter'] = array(
|
|
'active' => 1,
|
|
'cardinality' => 1,
|
|
'deleted' => 0,
|
|
'entity_types' => array(),
|
|
'field_name' => 'field_ecouter',
|
|
'field_permissions' => array(
|
|
'type' => 0,
|
|
),
|
|
'indexes' => array(
|
|
'tid' => array(
|
|
0 => 'tid',
|
|
),
|
|
),
|
|
'locked' => 0,
|
|
'module' => 'taxonomy',
|
|
'settings' => array(
|
|
'allowed_values' => array(
|
|
0 => array(
|
|
'vocabulary' => 'actions',
|
|
'parent' => 0,
|
|
),
|
|
),
|
|
'entity_translation_sync' => FALSE,
|
|
'options_list_callback' => 'title_taxonomy_allowed_values',
|
|
),
|
|
'translatable' => 0,
|
|
'type' => 'taxonomy_term_reference',
|
|
);
|
|
|
|
// Exported field_base: 'field_emvideo'.
|
|
$field_bases['field_emvideo'] = array(
|
|
'active' => 1,
|
|
'cardinality' => 1,
|
|
'deleted' => 0,
|
|
'entity_types' => array(),
|
|
'field_name' => 'field_emvideo',
|
|
'field_permissions' => array(
|
|
'type' => 0,
|
|
),
|
|
'indexes' => array(),
|
|
'locked' => 0,
|
|
'module' => 'video_embed_field',
|
|
'settings' => array(
|
|
'entity_translation_sync' => FALSE,
|
|
),
|
|
'translatable' => 0,
|
|
'type' => 'video_embed_field',
|
|
);
|
|
|
|
// Exported field_base: 'field_episodes'.
|
|
$field_bases['field_episodes'] = array(
|
|
'active' => 1,
|
|
'cardinality' => -1,
|
|
'deleted' => 0,
|
|
'entity_types' => array(),
|
|
'field_name' => 'field_episodes',
|
|
'field_permissions' => array(
|
|
'type' => 0,
|
|
),
|
|
'indexes' => array(
|
|
'target_id' => array(
|
|
0 => 'target_id',
|
|
),
|
|
),
|
|
'locked' => 0,
|
|
'module' => 'entityreference',
|
|
'settings' => array(
|
|
'entity_translation_sync' => FALSE,
|
|
'handler' => 'base',
|
|
'handler_settings' => array(
|
|
'behaviors' => array(
|
|
'views-select-list' => array(
|
|
'status' => 0,
|
|
),
|
|
),
|
|
'sort' => array(
|
|
'type' => 'none',
|
|
),
|
|
'target_bundles' => array(
|
|
'episode' => 'episode',
|
|
),
|
|
),
|
|
'target_type' => 'node',
|
|
),
|
|
'translatable' => 0,
|
|
'type' => 'entityreference',
|
|
);
|
|
|
|
// Exported field_base: 'field_habiter'.
|
|
$field_bases['field_habiter'] = array(
|
|
'active' => 1,
|
|
'cardinality' => 1,
|
|
'deleted' => 0,
|
|
'entity_types' => array(),
|
|
'field_name' => 'field_habiter',
|
|
'field_permissions' => array(
|
|
'type' => 0,
|
|
),
|
|
'indexes' => array(
|
|
'target_id' => array(
|
|
0 => 'target_id',
|
|
),
|
|
),
|
|
'locked' => 0,
|
|
'module' => 'entityreference',
|
|
'settings' => array(
|
|
'entity_translation_sync' => FALSE,
|
|
'handler' => 'base',
|
|
'handler_settings' => array(
|
|
'behaviors' => array(
|
|
'views-select-list' => array(
|
|
'status' => 0,
|
|
),
|
|
),
|
|
'sort' => array(
|
|
'type' => 'none',
|
|
),
|
|
'target_bundles' => array(
|
|
'actions' => 'actions',
|
|
),
|
|
),
|
|
'target_type' => 'taxonomy_term',
|
|
),
|
|
'translatable' => 0,
|
|
'type' => 'entityreference',
|
|
);
|
|
|
|
// Exported field_base: 'field_legende'.
|
|
$field_bases['field_legende'] = array(
|
|
'active' => 1,
|
|
'cardinality' => 1,
|
|
'deleted' => 0,
|
|
'entity_types' => array(),
|
|
'field_name' => 'field_legende',
|
|
'indexes' => array(
|
|
'format' => array(
|
|
0 => 'format',
|
|
),
|
|
),
|
|
'locked' => 0,
|
|
'module' => 'text',
|
|
'settings' => array(
|
|
'entity_translation_sync' => FALSE,
|
|
'max_length' => 255,
|
|
),
|
|
'translatable' => 0,
|
|
'type' => 'text',
|
|
);
|
|
|
|
// Exported field_base: 'field_thematique'.
|
|
$field_bases['field_thematique'] = array(
|
|
'active' => 1,
|
|
'cardinality' => 1,
|
|
'deleted' => 0,
|
|
'entity_types' => array(),
|
|
'field_name' => 'field_thematique',
|
|
'field_permissions' => array(
|
|
'type' => 0,
|
|
),
|
|
'indexes' => array(
|
|
'target_id' => array(
|
|
0 => 'target_id',
|
|
),
|
|
),
|
|
'locked' => 0,
|
|
'module' => 'entityreference',
|
|
'settings' => array(
|
|
'entity_translation_sync' => FALSE,
|
|
'handler' => 'base',
|
|
'handler_settings' => array(
|
|
'behaviors' => array(
|
|
'views-select-list' => array(
|
|
'status' => 0,
|
|
),
|
|
),
|
|
'sort' => array(
|
|
'type' => 'none',
|
|
),
|
|
'target_bundles' => array(
|
|
'thematique' => 'thematique',
|
|
),
|
|
),
|
|
'target_type' => 'node',
|
|
),
|
|
'translatable' => 0,
|
|
'type' => 'entityreference',
|
|
);
|
|
|
|
return $field_bases;
|
|
}
|