123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190191192193194195196197198199200201202203204205206207208209210211212213214215216217218219220221222223224225226227228229230231232233234235236237238239240241242243244245246247248249250251252253254255256257258259260261262263264265266267268269270271272273274275276277278279280281282283284285286287288289290291292293294295296297298299300301302303304305306307308309310311312313314315316317318319320321322323324325326327328329330331332333334335336337338339340341342343344345346347348349350351352353354355356357358359360361362363364365366367368369370371372373374375376377378379380381382383384385386387388389390391392393394395396397398399400401402403404405406407408409410411412413414415416417418419420421422423424425426427428429430431432433434435436437438439440441442443444445446447448449450451452453454455456457458459460461462463464465466467468469470471472473474475476477478479480481482483484 |
- <?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_poid'.
- $field_bases['field_poid'] = array(
- 'active' => 1,
- 'cardinality' => 1,
- 'deleted' => 0,
- 'entity_types' => array(),
- 'field_name' => 'field_poid',
- 'field_permissions' => array(
- 'type' => 2,
- ),
- 'indexes' => array(),
- 'locked' => 0,
- 'module' => 'number',
- 'settings' => array(
- 'entity_translation_sync' => FALSE,
- ),
- 'translatable' => 0,
- 'type' => 'number_integer',
- );
- // 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',
- );
- // Exported field_base: 'field_vignette'.
- $field_bases['field_vignette'] = array(
- 'active' => 1,
- 'cardinality' => 1,
- 'deleted' => 0,
- 'entity_types' => array(),
- 'field_name' => 'field_vignette',
- 'field_permissions' => array(
- 'type' => 0,
- ),
- 'indexes' => array(
- 'fid' => array(
- 0 => 'fid',
- ),
- ),
- 'locked' => 0,
- 'module' => 'image',
- 'settings' => array(
- 'default_image' => 0,
- 'entity_translation_sync' => array(
- 0 => 'fid',
- ),
- 'uri_scheme' => 'public',
- ),
- 'translatable' => 0,
- 'type' => 'image',
- );
- // Exported field_base: 'title_field'.
- $field_bases['title_field'] = array(
- 'active' => 1,
- 'cardinality' => 1,
- 'deleted' => 0,
- 'entity_types' => array(),
- 'field_name' => 'title_field',
- 'indexes' => array(
- 'format' => array(
- 0 => 'format',
- ),
- ),
- 'locked' => 0,
- 'module' => 'text',
- 'settings' => array(
- 'entity_translation_sync' => FALSE,
- 'max_length' => 255,
- ),
- 'translatable' => 1,
- 'type' => 'text',
- );
- return $field_bases;
- }
|