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