created content types (and feature)
updated video filter
This commit is contained in:
@@ -0,0 +1,299 @@
|
||||
<?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: '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,
|
||||
),
|
||||
'foreign keys' => array(
|
||||
'format' => array(
|
||||
'columns' => array(
|
||||
'format' => 'format',
|
||||
),
|
||||
'table' => 'filter_format',
|
||||
),
|
||||
),
|
||||
'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,
|
||||
),
|
||||
'foreign keys' => array(
|
||||
'taxonomy_term_data' => array(
|
||||
'columns' => array(
|
||||
'target_id' => 'tid',
|
||||
),
|
||||
'table' => 'taxonomy_term_data',
|
||||
),
|
||||
),
|
||||
'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_ecouter'
|
||||
$field_bases['field_ecouter'] = array(
|
||||
'active' => 1,
|
||||
'cardinality' => 1,
|
||||
'deleted' => 0,
|
||||
'entity_types' => array(),
|
||||
'field_name' => 'field_ecouter',
|
||||
'field_permissions' => array(
|
||||
'type' => 0,
|
||||
),
|
||||
'foreign keys' => array(
|
||||
'tid' => array(
|
||||
'columns' => array(
|
||||
'tid' => 'tid',
|
||||
),
|
||||
'table' => 'taxonomy_term_data',
|
||||
),
|
||||
),
|
||||
'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,
|
||||
),
|
||||
'translatable' => 0,
|
||||
'type' => 'taxonomy_term_reference',
|
||||
);
|
||||
|
||||
// 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,
|
||||
),
|
||||
'foreign keys' => array(
|
||||
'node' => array(
|
||||
'columns' => array(
|
||||
'target_id' => 'nid',
|
||||
),
|
||||
'table' => 'node',
|
||||
),
|
||||
),
|
||||
'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,
|
||||
),
|
||||
'foreign keys' => array(
|
||||
'taxonomy_term_data' => array(
|
||||
'columns' => array(
|
||||
'target_id' => 'tid',
|
||||
),
|
||||
'table' => 'taxonomy_term_data',
|
||||
),
|
||||
),
|
||||
'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_thematique'
|
||||
$field_bases['field_thematique'] = array(
|
||||
'active' => 1,
|
||||
'cardinality' => 1,
|
||||
'deleted' => 0,
|
||||
'entity_types' => array(),
|
||||
'field_name' => 'field_thematique',
|
||||
'field_permissions' => array(
|
||||
'type' => 0,
|
||||
),
|
||||
'foreign keys' => array(
|
||||
'node' => array(
|
||||
'columns' => array(
|
||||
'target_id' => 'nid',
|
||||
),
|
||||
'table' => 'node',
|
||||
),
|
||||
),
|
||||
'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_video'
|
||||
$field_bases['field_video'] = array(
|
||||
'active' => 1,
|
||||
'cardinality' => 1,
|
||||
'deleted' => 0,
|
||||
'entity_types' => array(),
|
||||
'field_name' => 'field_video',
|
||||
'field_permissions' => array(
|
||||
'type' => 0,
|
||||
),
|
||||
'foreign keys' => array(),
|
||||
'indexes' => array(
|
||||
'height' => array(
|
||||
0 => 'height',
|
||||
),
|
||||
'width' => array(
|
||||
0 => 'width',
|
||||
),
|
||||
),
|
||||
'locked' => 0,
|
||||
'module' => 'video_filter_field',
|
||||
'settings' => array(
|
||||
'entity_translation_sync' => FALSE,
|
||||
),
|
||||
'translatable' => 0,
|
||||
'type' => 'video_filter',
|
||||
);
|
||||
|
||||
return $field_bases;
|
||||
}
|
||||
Reference in New Issue
Block a user