You are here

function notifications_ui_user_options in Notifications 6.4

Same name and namespace in other branches
  1. 6 notifications_ui/notifications_ui.module \notifications_ui_user_options()
  2. 6.2 notifications_ui/notifications_ui.module \notifications_ui_user_options()
  3. 6.3 notifications_ui/notifications_ui.module \notifications_ui_user_options()
  4. 7 notifications_ui/notifications_ui.module \notifications_ui_user_options()

Check enabled option / Get options for user account pages

Parameters

$type: Option type = 'page', 'create' Null to get all of them

5 calls to notifications_ui_user_options()
NotificationsContentTests::testNotificationsUserPages in tests/notifications_content.test
Check all user pages before and after enabling permissions
notifications_ui_access_page in notifications_ui/notifications_ui.module
Menu access callback: account pages
notifications_ui_access_user_add in notifications_ui/notifications_ui.module
Menu access callback: add subscription
notifications_ui_form_alter in notifications_ui/notifications_ui.module
Implementation of hook_form_alter()
notifications_ui_settings_form in notifications_ui/notifications_ui.admin.inc
Site-wide settings form.
3 string references to 'notifications_ui_user_options'
NotificationsTestCase::enableUIPages in tests/notifications_test_case.inc
notifications_ui_uninstall in notifications_ui/notifications_ui.install
Implementation of hook_uninstall()
notifications_ui_update_6002 in notifications_ui/notifications_ui.install
Change some variables for uniform notifications_ui_[object]_options

File

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

Code

function notifications_ui_user_options($display = NULL) {
  return notifications_ui_display_options('user', $display, NULL, array(
    'page',
    'create',
  ));
}