View source
<?php
function oa_sections_field_default_field_bases() {
$field_bases = array();
$field_bases['field_oa_group_ref'] = array(
'active' => 1,
'cardinality' => -1,
'deleted' => 0,
'entity_types' => array(),
'field_name' => 'field_oa_group_ref',
'indexes' => array(
'target_id' => array(
0 => 'target_id',
),
),
'locked' => 0,
'module' => 'entityreference',
'settings' => array(
'handler' => 'oa_groups_selection',
'handler_settings' => array(
'behaviors' => array(
'views-autocomplete' => array(
'status' => 0,
),
'views-select-list' => array(
'status' => 1,
),
),
'include_space' => 1,
'target_bundles' => array(),
),
'target_type' => 'node',
),
'translatable' => 0,
'type' => 'entityreference',
);
$field_bases['field_oa_icon_class'] = array(
'active' => 1,
'cardinality' => 1,
'deleted' => 0,
'entity_types' => array(),
'field_name' => 'field_oa_icon_class',
'indexes' => array(
'format' => array(
0 => 'format',
),
),
'locked' => 0,
'module' => 'text',
'settings' => array(
'max_length' => 255,
),
'translatable' => 0,
'type' => 'text',
);
$field_bases['field_oa_icon_image'] = array(
'active' => 1,
'cardinality' => 1,
'deleted' => 0,
'entity_types' => array(),
'field_name' => 'field_oa_icon_image',
'indexes' => array(
'fid' => array(
0 => 'fid',
),
),
'locked' => 0,
'module' => 'image',
'settings' => array(
'default_image' => 0,
'uri_scheme' => 'public',
),
'translatable' => 0,
'type' => 'image',
);
$field_bases['field_oa_section'] = array(
'active' => 1,
'cardinality' => 1,
'deleted' => 0,
'entity_types' => array(),
'field_name' => 'field_oa_section',
'indexes' => array(
'tid' => array(
0 => 'tid',
),
),
'locked' => 0,
'module' => 'taxonomy',
'settings' => array(
'allowed_values' => array(
0 => array(
'vocabulary' => 'section_type',
'parent' => 0,
),
),
),
'translatable' => 0,
'type' => 'taxonomy_term_reference',
);
$field_bases['field_oa_section_type_menu'] = array(
'active' => 1,
'cardinality' => 1,
'deleted' => 0,
'entity_types' => array(),
'field_name' => 'field_oa_section_type_menu',
'indexes' => array(
'value' => array(
0 => 'value',
),
),
'locked' => 0,
'module' => 'list',
'settings' => array(
'allowed_values' => array(),
'allowed_values_function' => 'oa_sections_field_oa_section_type_menu_allowed_values',
),
'translatable' => 0,
'type' => 'list_integer',
);
$field_bases['field_oa_section_weight'] = array(
'active' => 1,
'cardinality' => 1,
'deleted' => 0,
'entity_types' => array(),
'field_name' => 'field_oa_section_weight',
'indexes' => array(),
'locked' => 0,
'module' => 'number',
'settings' => array(),
'translatable' => 0,
'type' => 'number_integer',
);
$field_bases['field_oa_team_ref'] = array(
'active' => 1,
'cardinality' => -1,
'deleted' => 0,
'entity_types' => array(),
'field_name' => 'field_oa_team_ref',
'indexes' => array(
'target_id' => array(
0 => 'target_id',
),
),
'locked' => 0,
'module' => 'entityreference',
'settings' => array(
'handler' => 'oa_teams',
'handler_settings' => array(
'behaviors' => array(
'views-autocomplete' => array(
'status' => 0,
),
'views-select-list' => array(
'status' => 0,
),
),
),
'target_type' => 'node',
),
'translatable' => 0,
'type' => 'entityreference',
);
$field_bases['field_oa_user_ref'] = array(
'active' => 1,
'cardinality' => -1,
'deleted' => 0,
'entity_types' => array(),
'field_name' => 'field_oa_user_ref',
'indexes' => array(
'target_id' => array(
0 => 'target_id',
),
),
'locked' => 0,
'module' => 'entityreference',
'settings' => array(
'handler' => 'views',
'handler_settings' => array(
'behaviors' => array(
'views-autocomplete' => array(
'status' => 0,
),
'views-select-list' => array(
'status' => 0,
),
),
'view' => array(
'args' => array(),
'display_name' => 'entityreference_1',
'view_name' => 'open_atrium_user_filters',
),
),
'target_type' => 'user',
),
'translatable' => 0,
'type' => 'entityreference',
);
return $field_bases;
}