function opigno_get_og_node in Opigno 7.0
2 calls to opigno_get_og_node()
- opigno_get_og_tools in ./
opigno.module - Returns the list tools for the OG node.
- opigno_og_description_block in includes/
opigno.block.inc
File
- ./
opigno.module, line 386 - Contains all hook_implementations and module specific API.
Code
function opigno_get_og_node($group) {
if (isset($group->nid)) {
$node = $group;
}
else {
$node = node_load($group->etid);
}
return $node;
}