function notifications_ui_user_options in Notifications 7
Same name and namespace in other branches
- 6.4 notifications_ui/notifications_ui.module \notifications_ui_user_options()
- 6 notifications_ui/notifications_ui.module \notifications_ui_user_options()
- 6.2 notifications_ui/notifications_ui.module \notifications_ui_user_options()
- 6.3 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
3 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_form_alter in notifications_ui/
notifications_ui.module - Implementation of hook_form_alter()
2 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()
File
- notifications_ui/
notifications_ui.module, line 350 - User Interface for subscriptions modules
Code
function notifications_ui_user_options($display = NULL) {
return notifications_ui_display_options('user', $display, NULL, array(
'page',
'create',
));
}