66 lines
1.3 KiB
PHP
66 lines
1.3 KiB
PHP
<?php
|
|
/**
|
|
* @file
|
|
* page.features.field_base.inc
|
|
*/
|
|
|
|
/**
|
|
* Implements hook_field_default_field_bases().
|
|
*/
|
|
function page_field_default_field_bases() {
|
|
$field_bases = array();
|
|
|
|
// Exported field_base: 'body'.
|
|
$field_bases['body'] = array(
|
|
'active' => 1,
|
|
'cardinality' => 1,
|
|
'deleted' => 0,
|
|
'entity_types' => array(
|
|
0 => 'node',
|
|
),
|
|
'field_name' => 'body',
|
|
'indexes' => array(
|
|
'format' => array(
|
|
0 => 'format',
|
|
),
|
|
),
|
|
'locked' => 0,
|
|
'module' => 'text',
|
|
'settings' => array(
|
|
'entity_translation_sync' => FALSE,
|
|
),
|
|
'translatable' => 0,
|
|
'type' => 'text_with_summary',
|
|
);
|
|
|
|
// Exported field_base: 'field_images'.
|
|
$field_bases['field_images'] = array(
|
|
'active' => 1,
|
|
'cardinality' => -1,
|
|
'deleted' => 0,
|
|
'entity_types' => array(),
|
|
'field_name' => 'field_images',
|
|
'field_permissions' => array(
|
|
'type' => 0,
|
|
),
|
|
'indexes' => array(
|
|
'fid' => array(
|
|
0 => 'fid',
|
|
),
|
|
),
|
|
'locked' => 0,
|
|
'module' => 'image',
|
|
'settings' => array(
|
|
'default_image' => 0,
|
|
'entity_translation_sync' => array(
|
|
0 => 'fid',
|
|
),
|
|
'uri_scheme' => 'public',
|
|
),
|
|
'translatable' => 0,
|
|
'type' => 'image',
|
|
);
|
|
|
|
return $field_bases;
|
|
}
|