You are here

function commons_topics_field_default_field_bases in Drupal Commons 7.3

Implements hook_field_default_field_bases().

File

modules/commons/commons_topics/commons_topics.features.field_base.inc, line 10
commons_topics.features.field_base.inc

Code

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;
}