function Notifications_Object::user_access in Notifications 7
Check user access. By default it will be true if object can be loaded
File
- ./
notifications.object.inc, line 177 - Drupal Notifications Framework - Default class file
Class
- Notifications_Object
- Wrapper for Drupal objects
Code
function user_access($account) {
return (bool) $this
->get_object();
}