function og_ui_og_fields_info_alter in Organic groups 7
Same name and namespace in other branches
- 7.2 og_ui/og_ui.module \og_ui_og_fields_info_alter()
Implements hook_og_fields_info_alter().
Change the default formatter of the group field.
File
- og_ui/
og_ui.module, line 233 - Organic groups UI.
Code
function og_ui_og_fields_info_alter(&$items) {
$items[OG_GROUP_FIELD]['instance']['display']['default']['type'] = 'og_group_subscribe';
}