function node_recur_recurring_enabled in Node recur 7.2
Same name and namespace in other branches
- 7 node_recur.module \node_recur_recurring_enabled()
Determine if recurring is enabled for a given node type
Parameters
$type: The node type
Return value
TRUE if recurring is enabled, otherwise FALSE
2 calls to node_recur_recurring_enabled()
- node_recur_form_node_type_form_alter in ./
node_recur.module - Implements hook_form_node_type_form_alter().
- node_recur_node_recur_form_access in ./
node_recur.module - Access handler for the node recur form
File
- ./
node_recur.module, line 116
Code
function node_recur_recurring_enabled($type) {
return variable_get("node_recur_enabled_node_type_{$type}", FALSE);
}