function Notifications_Node::user_access in Notifications 7
Check user access
File
- ./
notifications.object.inc, line 319 - Drupal Notifications Framework - Default class file
Class
- Notifications_Node
- Node objects
Code
function user_access($account) {
if ($node = $this
->get_object()) {
return node_access('view', $node, $account);
}
}