function og_is_group_post_type in Organic groups 6
Same name and namespace in other branches
- 5.8 og.module \og_is_group_post_type()
- 5 og.module \og_is_group_post_type()
- 5.3 og.module \og_is_group_post_type()
- 5.7 og.module \og_is_group_post_type()
- 6.2 og.module \og_is_group_post_type()
9 calls to og_is_group_post_type()
- og_access_alter_nongroup_form in modules/
og_access/ og_access.module - og_content_extra_fields in ./
og.module - Implementation of hook_content_extra_fields.
- og_determine_context_get_group in ./
og.module - Helper function; Get an appropriate group node to be set as the group conext.
- og_devel_generate in ./
og.module - og_form_alter in ./
og.module
File
- ./
og.module, line 2364
Code
function og_is_group_post_type($type) {
$usage = variable_get('og_content_type_usage_' . $type, 'omitted');
return strpos($usage, 'group_post') !== FALSE ? TRUE : FALSE;
}