function RulesNodeConditionSticky::execute

Executes the condition.

File

modules/node.eval.inc, line 111

Class

RulesNodeConditionSticky
Condition: Check if the node is sticky.

Code

public function execute($node) {
    return $node->sticky == 1;
}