function space_og::group_node_admin_access in Spaces 6.3
Same name and namespace in other branches
- 7.3 spaces_og/plugins/space_og.inc \space_og::group_node_admin_access()
- 7 spaces_og/plugins/space_og.inc \space_og::group_node_admin_access()
Custom function group_node_admin_access(). Check that the current menu node object is also a group node.
File
- spaces_og/
plugins/ space_og.inc, line 170
Class
- space_og
- Organic groups integration for Spaces.
Code
function group_node_admin_access($node) {
if ($node && og_is_group_type($node->type)) {
return $this
->admin_access();
}
return FALSE;
}