8ac59801be
Update commons modules to release 7.12, and move the codebase under modules/commons instead of constant fetching from remote repository. The commons.make file removed so it is not required to rebuild groups distribution. Change-Id: I3be393ba1af34427e2915b18ab1ad718fd4e54db
46 lines
902 B
PHP
46 lines
902 B
PHP
<?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',
|
|
'foreign keys' => array(
|
|
'fid' => array(
|
|
'columns' => array(
|
|
'fid' => 'fid',
|
|
),
|
|
'table' => 'file_managed',
|
|
),
|
|
),
|
|
'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;
|
|
}
|