You are here

function notifications_ui_user_access in Notifications 6.4

Same name and namespace in other branches
  1. 7 notifications_ui/notifications_ui.module \notifications_ui_user_access()

Check user access to notifications_ui

4 calls to notifications_ui_user_access()
notifications_ui_block in notifications_ui/notifications_ui.module
Implementation of hook_block()
notifications_ui_link in notifications_ui/notifications_ui.module
Implementation of hook_link()
notifications_ui_node_subscriptions in notifications_ui/notifications_ui.module
Find subscriptions options for this node
notifications_ui_subscribe_links in notifications_ui/notifications_ui.module
Build subscription options as an array of links

File

notifications_ui/notifications_ui.module, line 406
User Interface for subscriptions modules

Code

function notifications_ui_user_access($account = NULL) {
  $account = $account ? $account : $GLOBALS['user'];
  return notifications_access_subscribe($account);
}