function notifications_content_types_callback in Notifications 6.2
Same name and namespace in other branches
- 6.4 notifications_content/notifications_content.module \notifications_content_types_callback()
- 6.3 notifications_content/notifications_content.module \notifications_content_types_callback()
Wrapper for options callback based on subscription type.
Parameters
$subs_type: Optional type of subscription for which to find allowed content types. Defaults to nodetype, can be any subscription type with event-type=node for which notifications_content handles content type settings.
1 string reference to 'notifications_content_types_callback'
- notifications_content_notifications in notifications_content/
notifications_content.module - Implementation of hook_notifications()
File
- notifications_content/
notifications_content.module, line 794 - Subscriptions to content events
Code
function notifications_content_types_callback($subs_type = 'nodetype') {
return notifications_content_types('name', $subs_type);
}