function rules_condition_content_is_published
Condition: Check if the node is published.
File
-
tests/
rules_test.test.inc, line 40
Code
function rules_condition_content_is_published($node, $settings) {
return $node->status == 1;
}