materio-base-legacy/sites/all/modules/features/showroom/showroom.features.field_base.inc

192 lines
4.6 KiB
PHP

<?php
/**
* @file
* showroom.features.field_base.inc
*/
/**
* Implements hook_field_default_field_bases().
*/
function showroom_field_default_field_bases() {
$field_bases = array();
// Exported field_base: 'description_field'.
$field_bases['description_field'] = array(
'active' => 1,
'cardinality' => 1,
'deleted' => 0,
'entity_types' => array(),
'field_name' => 'description_field',
'indexes' => array(
'format' => array(
0 => 'format',
),
),
'locked' => 0,
'module' => 'text',
'settings' => array(
'entity_translation_sync' => FALSE,
),
'translatable' => 1,
'type' => 'text_with_summary',
);
// Exported field_base: 'field_showroom'.
$field_bases['field_showroom'] = array(
'active' => 1,
'cardinality' => 1,
'deleted' => 0,
'entity_types' => array(),
'field_name' => 'field_showroom',
'field_permissions' => array(
'type' => 2,
),
'indexes' => array(
'tid' => array(
0 => 'tid',
),
),
'locked' => 0,
'module' => 'taxonomy',
'settings' => array(
'allowed_values' => array(
0 => array(
'vocabulary' => 'showroom',
'parent' => 0,
'depth' => '',
),
),
'entity_translation_sync' => FALSE,
'options_list_callback' => 'content_taxonomy_allowed_values',
'profile2_private' => FALSE,
),
'translatable' => 0,
'type' => 'taxonomy_term_reference',
);
// Exported field_base: 'field_showroom_localisation'.
$field_bases['field_showroom_localisation'] = array(
'active' => 1,
'cardinality' => -1,
'deleted' => 0,
'entity_types' => array(),
'field_name' => 'field_showroom_localisation',
'field_permissions' => array(
'type' => 2,
),
'indexes' => array(
'revision_id' => array(
0 => 'revision_id',
),
'value' => array(
0 => 'value',
),
),
'locked' => 0,
'module' => 'field_collection',
'settings' => array(
'entity_translation_sync' => FALSE,
'hide_blank_items' => 1,
'hide_initial_item' => 0,
'path' => '',
'profile2_private' => FALSE,
),
'translatable' => 0,
'type' => 'field_collection',
);
// Exported field_base: 'field_showroom_localisation_loca'.
$field_bases['field_showroom_localisation_loca'] = array(
'active' => 1,
'cardinality' => 1,
'deleted' => 0,
'entity_types' => array(),
'field_name' => 'field_showroom_localisation_loca',
'field_permissions' => array(
'type' => 2,
),
'indexes' => array(
'format' => array(
0 => 'format',
),
),
'locked' => 0,
'module' => 'text',
'settings' => array(
'entity_translation_sync' => FALSE,
'max_length' => 255,
'profile2_private' => FALSE,
),
'translatable' => 0,
'type' => 'text',
);
// Exported field_base: 'field_showroom_localisation_show'.
$field_bases['field_showroom_localisation_show'] = array(
'active' => 1,
'cardinality' => 1,
'deleted' => 0,
'entity_types' => array(),
'field_name' => 'field_showroom_localisation_show',
'field_permissions' => array(
'type' => 2,
),
'indexes' => array(
'tid' => array(
0 => 'tid',
),
),
'locked' => 0,
'module' => 'taxonomy',
'settings' => array(
'allowed_values' => array(
0 => array(
'vocabulary' => 'showroom',
'parent' => 0,
'depth' => '',
),
),
'entity_translation_sync' => FALSE,
'options_list_callback' => 'content_taxonomy_allowed_values',
'profile2_private' => FALSE,
),
'translatable' => 0,
'type' => 'taxonomy_term_reference',
);
// Exported field_base: 'field_tode_showroom'.
$field_bases['field_tode_showroom'] = array(
'active' => 1,
'cardinality' => 1,
'deleted' => 0,
'entity_types' => array(),
'field_name' => 'field_tode_showroom',
'field_permissions' => array(
'type' => 2,
),
'indexes' => array(
'tid' => array(
0 => 'tid',
),
),
'locked' => 0,
'module' => 'taxonomy',
'settings' => array(
'allowed_values' => array(
0 => array(
'vocabulary' => 'showroom',
'parent' => 0,
'depth' => '',
),
),
'entity_translation_sync' => FALSE,
'options_list_callback' => 'content_taxonomy_allowed_values',
'profile2_private' => FALSE,
),
'translatable' => 0,
'type' => 'taxonomy_term_reference',
);
return $field_bases;
}