You are here

commons_media.features.field_base.inc in Drupal Commons 7.3

File

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

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

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

  // Exported field_base: 'field_media'
  $field_bases['field_media'] = array(
    'active' => 1,
    'cardinality' => -1,
    'deleted' => 0,
    'entity_types' => array(),
    'field_name' => 'field_media',
    'indexes' => array(
      'fid' => array(
        0 => 'fid',
      ),
    ),
    'locked' => 0,
    'module' => 'file',
    'settings' => array(
      'display_default' => 0,
      'display_field' => 0,
      'uri_scheme' => 'public',
    ),
    'translatable' => 0,
    'type' => 'file',
  );
  return $field_bases;
}

Functions

Namesort descending Description
commons_media_field_default_field_bases Implements hook_field_default_field_bases().