function oa_core_og_fields_info_alter in Open Atrium Core 7.2
Implements hook_og_fields_info().
File
- ./
oa_core.module, line 517
Code
function oa_core_og_fields_info_alter(&$return) {
if (isset($return['og_group_ref'])) {
$return['og_group_ref']['instance']['settings'] = array(
'behaviors' => array(
'og_widget' => array(
'access_override' => 1,
'admin' => array(
'widget_settings' => array(
'select2widgetajax' => array(
'match_operator' => 'CONTAINS',
'min_char' => 1,
'view_mode' => 'teaser',
'width' => '100%',
),
),
'widget_type' => 'select2widgetajax',
),
'default' => array(
'widget_settings' => array(
'select2widgetajax' => array(
'match_operator' => 'CONTAINS',
'min_char' => 1,
'view_mode' => 'teaser',
'width' => '100%',
),
),
'widget_type' => 'select2widgetajax',
),
'status' => TRUE,
),
),
'user_register_form' => FALSE,
);
}
}