function notifications_ui_subscribe_links in Notifications 6.4
Build subscription options as an array of links
These links can be added as node link elements or rendered some other way
Parameters
$subscription_types: Array of subscription objects, either actual subscriptions or subscription templates
$prefix: Prefix to use for the link indexes
2 calls to notifications_ui_subscribe_links()
- notifications_ui_link in notifications_ui/
notifications_ui.module - Implementation of hook_link()
- notifications_ui_user in notifications_ui/
notifications_ui.module - Implementation of hook_user().
2 string references to 'notifications_ui_subscribe_links'
- notifications_admin_subscriptions_settings in ./
notifications.admin.inc - Subscription settings
- notifications_subscription_get_link in ./
notifications.module - Get subscribe / unsubscribe page link for subscription
File
- notifications_ui/
notifications_ui.module, line 260 - User Interface for subscriptions modules
Code
function notifications_ui_subscribe_links($type, $object) {
if (notifications_ui_user_access()) {
notifications_include('object.inc');
return notifications_object_subscribe_links($type, $object);
}
}