materio-base-legacy/materio_subscriptions/materio_subscriptions.features.field_base.inc
2013-12-09 17:22:25 +01:00

186 lines
4.0 KiB
PHP

<?php
/**
* @file
* materio_subscriptions.features.field_base.inc
*/
/**
* Implements hook_field_default_field_bases().
*/
function materio_subscriptions_field_default_field_bases() {
$field_bases = array();
// Exported field_base: 'body'
$field_bases['body'] = array(
'active' => 1,
'cardinality' => 1,
'deleted' => 0,
'entity_types' => array(
0 => 'node',
),
'field_name' => 'body',
'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,
'profile2_private' => FALSE,
),
'translatable' => 1,
'type' => 'text_with_summary',
);
// Exported field_base: 'synonyms_synonym'
$field_bases['synonyms_synonym'] = array(
'active' => 1,
'cardinality' => -1,
'deleted' => 0,
'entity_types' => array(),
'field_name' => 'synonyms_synonym',
'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,
'max_length' => 255,
'profile2_private' => FALSE,
),
'translatable' => 1,
'type' => 'text',
);
// Exported field_base: 'taxonomy_catalog'
$field_bases['taxonomy_catalog'] = array(
'active' => 1,
'cardinality' => -1,
'deleted' => 0,
'entity_types' => array(),
'field_name' => 'taxonomy_catalog',
'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' => 'catalog',
'parent' => 0,
),
),
'entity_translation_sync' => FALSE,
'options_list_callback' => 'i18n_taxonomy_allowed_values',
),
'translatable' => 0,
'type' => 'taxonomy_term_reference',
);
// Exported field_base: 'uc_catalog_image'
$field_bases['uc_catalog_image'] = array(
'active' => 1,
'cardinality' => 1,
'deleted' => 0,
'entity_types' => array(),
'field_name' => 'uc_catalog_image',
'foreign keys' => array(
'fid' => array(
'columns' => array(
'fid' => 'fid',
),
'table' => 'file_managed',
),
),
'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: 'uc_product_image'
$field_bases['uc_product_image'] = array(
'active' => 1,
'cardinality' => -1,
'deleted' => 0,
'entity_types' => array(),
'field_name' => 'uc_product_image',
'foreign keys' => array(
'fid' => array(
'columns' => array(
'fid' => 'fid',
),
'table' => 'file_managed',
),
),
'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',
);
return $field_bases;
}