function subscriptions_content_get_default_workflow in Subscriptions 6
Same name and namespace in other branches
- 7 subscriptions_content.module \subscriptions_content_get_default_workflow()
- 2.0.x subscriptions_content/subscriptions_content.module \subscriptions_content_get_default_workflow()
3 calls to subscriptions_content_get_default_workflow()
- subscriptions_content_form_comment_form_alter in ./
subscriptions_content.module - Implementation of hook_form_alter().
- subscriptions_content_form_node_type_form_alter in ./
subscriptions_content.module - Implementation of hook_form_alter().
- subscriptions_content_nodeapi in ./
subscriptions_content.module - Implementation of hook_nodeapi().
File
- ./
subscriptions_content.module, line 415 - Subscriptions to content events
Code
function subscriptions_content_get_default_workflow($content_type) {
return variable_get('subscriptions_default_workflow_' . $content_type, array(
'n_new',
'n_unpub',
'n_pub',
'c_new',
'c_unpub',
'c_pub',
));
}