View source
<?php
function commerce_kickstart_blog_field_default_field_bases() {
$field_bases = array();
$field_bases['field_blog_category'] = array(
'active' => 1,
'cardinality' => -1,
'deleted' => 0,
'entity_types' => array(),
'field_name' => 'field_blog_category',
'indexes' => array(
'tid' => array(
0 => 'tid',
),
),
'locked' => 0,
'module' => 'taxonomy',
'settings' => array(
'allowed_values' => array(
0 => array(
'vocabulary' => 'blog_category',
'parent' => 0,
),
),
'options_list_callback' => 'title_taxonomy_allowed_values',
),
'translatable' => 0,
'type' => 'taxonomy_term_reference',
);
$field_bases['field_tags'] = array(
'active' => 1,
'cardinality' => -1,
'deleted' => 0,
'entity_types' => array(),
'field_name' => 'field_tags',
'indexes' => array(
'tid' => array(
0 => 'tid',
),
),
'locked' => 0,
'module' => 'taxonomy',
'settings' => array(
'allowed_values' => array(
0 => array(
'vocabulary' => 'tags',
'parent' => 0,
),
),
'options_list_callback' => 'title_taxonomy_allowed_values',
),
'translatable' => 0,
'type' => 'taxonomy_term_reference',
);
return $field_bases;
}