You are here

commons_topics.features.field_base.inc in Drupal Commons 7.3

File

modules/commons/commons_topics/commons_topics.features.field_base.inc
View source
<?php

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

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

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

Functions

Namesort descending Description
commons_topics_field_default_field_bases Implements hook_field_default_field_bases().