You are here

answers_taxonomy.features.field_base.inc in Answers 7.4

File

answers_taxonomy/answers_taxonomy.features.field_base.inc
View source
<?php

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

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

  // Exported field_base: 'answers_tags'.
  $field_bases['answers_tags'] = array(
    'active' => 1,
    'cardinality' => -1,
    'deleted' => 0,
    'entity_types' => array(),
    'field_name' => 'answers_tags',
    'indexes' => array(
      'tid' => array(
        0 => 'tid',
      ),
    ),
    'locked' => 0,
    'module' => 'taxonomy',
    'settings' => array(
      'allowed_values' => array(
        0 => array(
          'vocabulary' => 'answers_taxonomy_answers_tags',
          'parent' => 0,
        ),
      ),
    ),
    'translatable' => 0,
    'type' => 'taxonomy_term_reference',
  );
  return $field_bases;
}

Functions

Namesort descending Description
answers_taxonomy_field_default_field_bases Implements hook_field_default_field_bases().