function og_access_content_extra_fields in Organic groups 6
Same name and namespace in other branches
- 6.2 modules/og_access/og_access.module \og_access_content_extra_fields()
Implementation of hook_content_extra_fields.
File
- modules/
og_access/ og_access.module, line 63
Code
function og_access_content_extra_fields($type_name) {
$extra = array();
if (og_is_group_type($type_name)) {
$extra['og_private'] = array(
'label' => t('Private group'),
'description' => t('Checkbox for visibility of group home page to non-members.'),
'weight' => 0,
);
}
return $extra;
}