function scheduler_condition_publishing_is_enabled in Scheduler 7
Determines whether scheduled publishing is enabled for this node type.
Parameters
object $node: The node to check.
Return value
bool TRUE if scheduled publishing is enabled for the node type, FALSE if not.
File
- ./
scheduler.rules.inc, line 246 - Scheduler rules functions.
Code
function scheduler_condition_publishing_is_enabled($node) {
return variable_get('scheduler_publish_enable_' . $node->type, 0) == 1;
}