function RulesNodeConditionBase::defaults
4 calls to RulesNodeConditionBase::defaults()
- RulesNodeConditionPromoted::getInfo in modules/
node.eval.inc - Defines the condition.
- RulesNodeConditionPublished::getInfo in modules/
node.eval.inc - Defines the condition.
- RulesNodeConditionSticky::getInfo in modules/
node.eval.inc - Defines the condition.
- RulesNodeConditionType::getInfo in modules/
node.eval.inc - Defines the condition.
File
-
modules/
node.eval.inc, line 17
Class
- RulesNodeConditionBase
- Base class providing node condition defaults.
Code
public static function defaults() {
return array(
'parameter' => array(
'node' => array(
'type' => 'node',
'label' => t('Content'),
),
),
'category' => 'node',
'access callback' => 'rules_node_integration_access',
);
}