function notifications_nodetype_enabled in Notifications 6.4
Check if this type of event is enabled for this content type
File
- notifications_nodetype/
notifications_nodetype.module, line 21 - Notifications content type extension
Code
function notifications_nodetype_enabled($type, $action) {
return notifications_content_type_enabled($type) && notifications_event_enabled('node-' . $type . '-' . $action, FALSE);
}