You are here

public static function RulesNodeConditionBase::defaults in Rules 7.2

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
Contains rules integration for the node module needed during evaluation.

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',
  );
}