function notifications_ui_object_subscriptions in Notifications 7
Same name and namespace in other branches
- 6.4 notifications_ui/notifications_ui.module \notifications_ui_object_subscriptions()
Get list of possible and existing subscriptions for user/object
Parameters
$account: User account to get options/subscriptions for
$type: Subscription type to get options: 'user', 'node'
$object: The object to subscribe. It may be $node or $user
Return value
Array of subscription objects, that will be mixed subscription templates and actual subscriptions
File
- notifications_ui/
notifications_ui.module, line 243 - User Interface for subscriptions modules
Code
function notifications_ui_object_subscriptions($type, $object) {
notifications_include('object.inc');
return notifications_object_user_subscriptions($type, $object, $account);
}