View source
<?php
function bricks_default_field_default_field_bases() {
$field_bases = array();
$field_bases['field_body'] = array(
'active' => 1,
'cardinality' => -1,
'deleted' => 0,
'entity_types' => array(),
'field_name' => 'field_body',
'indexes' => array(
'target_id' => array(
0 => 'target_id',
),
),
'locked' => 0,
'module' => 'entityreference',
'settings' => array(
'handler' => 'base',
'handler_settings' => array(
'behaviors' => array(
'er_options_behavior' => array(
'status' => 1,
),
'er_viewmode_behavior' => array(
'enabled_viewmodes' => array(
'full' => 'full',
'support' => 'support',
'teaser' => 'teaser',
'token' => 0,
),
'status' => 1,
),
'treeable_behavior' => array(
'status' => 1,
),
'views-select-list' => array(
'status' => 0,
),
),
'sort' => array(
'type' => 'none',
),
'target_bundles' => array(),
),
'target_type' => 'brick',
'treeable' => 1,
),
'translatable' => 0,
'type' => 'entityreference',
);
$field_bases['field_image'] = array(
'active' => 1,
'cardinality' => 1,
'deleted' => 0,
'entity_types' => array(),
'field_name' => 'field_image',
'indexes' => array(
'fid' => array(
0 => 'fid',
),
),
'locked' => 0,
'module' => 'image',
'settings' => array(
'default_image' => 0,
'treeable' => FALSE,
'uri_scheme' => 'public',
),
'translatable' => 0,
'type' => 'image',
);
$field_bases['field_text'] = array(
'active' => 1,
'cardinality' => 1,
'deleted' => 0,
'entity_types' => array(),
'field_name' => 'field_text',
'indexes' => array(
'format' => array(
0 => 'format',
),
),
'locked' => 0,
'module' => 'text',
'settings' => array(
'treeable' => FALSE,
),
'translatable' => 0,
'type' => 'text_long',
);
$field_bases['field_title'] = array(
'active' => 1,
'cardinality' => 1,
'deleted' => 0,
'entity_types' => array(),
'field_name' => 'field_title',
'indexes' => array(
'format' => array(
0 => 'format',
),
),
'locked' => 0,
'module' => 'text',
'settings' => array(
'max_length' => 255,
'treeable' => 0,
),
'translatable' => 0,
'type' => 'text',
);
return $field_bases;
}