You are here

commerce_kickstart_blog.features.field_base.inc in Commerce Kickstart 7.2

File

modules/commerce_kickstart/commerce_kickstart_blog/commerce_kickstart_blog.features.field_base.inc
View source
<?php

/**
 * @file
 * commerce_kickstart_blog.features.field_base.inc
 */

/**
 * Implements hook_field_default_field_bases().
 */
function commerce_kickstart_blog_field_default_field_bases() {
  $field_bases = array();

  // Exported field_base: 'field_blog_category'.
  $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',
  );

  // Exported field_base: 'field_tags'.
  $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;
}

Functions

Namesort descending Description
commerce_kickstart_blog_field_default_field_bases Implements hook_field_default_field_bases().