function opigno_node_access in Opigno 7.0
Custom access callback Use the settings from og_access to determine if a user has access to the current node.
Parameters
object $node:
string $type: The page type. Can be 'wiki', 'quiz', 'workgroup', etc
Return value
bool
File
- ./
opigno.module, line 350 - Contains all hook_implementations and module specific API.
Code
function opigno_node_access($node, $type) {
return TRUE;
// @todo
}