function RulesNodeConditionPromoted::getInfo
Defines the condition.
File
-
modules/
node.eval.inc, line 125
Class
- RulesNodeConditionPromoted
- Condition: Check if the node is promoted to the frontpage.
Code
public static function getInfo() {
return self::defaults() + array(
'name' => 'node_is_promoted',
'label' => t('Content is promoted to frontpage'),
);
}