materio-base-legacy/sites/all/modules/features/showroom/showroom.features.field_base.inc
Bachir Soussi Chiadmi 7abf64be00 Showroom feature
2016-11-06 19:40:18 +01:00

102 lines
2.3 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_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;
}