You are here

abstract class RulesNodeConditionBase in Rules 7.2

Base class providing node condition defaults.

Hierarchy

Expanded class hierarchy of RulesNodeConditionBase

Related topics

File

modules/node.eval.inc, line 15
Contains rules integration for the node module needed during evaluation.

View source
abstract class RulesNodeConditionBase extends RulesConditionHandlerBase {
  public static function defaults() {
    return array(
      'parameter' => array(
        'node' => array(
          'type' => 'node',
          'label' => t('Content'),
        ),
      ),
      'category' => 'node',
      'access callback' => 'rules_node_integration_access',
    );
  }

}

Members

Namesort descending Modifiers Type Description Overrides
RulesNodeConditionBase::defaults public static function
RulesPluginHandlerBase::$element protected property
RulesPluginHandlerBase::access public function Implements RulesPluginImplInterface::access(). Overrides RulesPluginHandlerInterface::access
RulesPluginHandlerBase::assertions public function Returns an array of info assertions for the specified parameters. Overrides RulesPluginHandlerInterface::assertions 1
RulesPluginHandlerBase::dependencies public function Returns an array of required modules. Overrides RulesPluginHandlerInterface::dependencies
RulesPluginHandlerBase::form_alter public function Alters the generated configuration form of the element. Overrides RulesPluginHandlerInterface::form_alter
RulesPluginHandlerBase::info_alter public function Allows altering of the element's action/condition info. Overrides RulesPluginHandlerInterface::info_alter
RulesPluginHandlerBase::process public function Processes settings independent from a form submission. Overrides RulesPluginHandlerInterface::process
RulesPluginHandlerBase::validate public function Validates $settings independent from a form submission. Overrides RulesPluginHandlerInterface::validate
RulesPluginHandlerBase::__construct public function Overridden to provide $this->element to make the code more meaningful.