function RulesNodeConditionPublished::getInfo

Defines the condition.

File

modules/node.eval.inc, line 77

Class

RulesNodeConditionPublished
Condition: Check if the node is published.

Code

public static function getInfo() {
    return self::defaults() + array(
        'name' => 'node_is_published',
        'label' => t('Content is published'),
    );
}