You are here

class RulesAbstractPluginDefaults in Rules 7.2

Provides default implementations of all RulesPluginImplInterface methods.

If a plugin implementation does not provide a function for a method, the default method of this class will be invoked.

Hierarchy

Expanded class hierarchy of RulesAbstractPluginDefaults

See also

RulesPluginImplInterface

RulesAbstractPlugin

1 string reference to 'RulesAbstractPluginDefaults'
rules_rules_plugin_info in ./rules.module
Implements hook_rules_plugin_info().

File

includes/rules.core.inc, line 2164
Rules base classes and interfaces needed for any rule evaluation.

View source
class RulesAbstractPluginDefaults extends RulesPluginHandlerBase implements RulesPluginImplInterface {
  public function execute() {
    throw new RulesEvaluationException($this->object
      ->getPluginName() . ": Execution implementation is missing.", array(), $this->object, RulesLog::ERROR);
  }

}

Members

Namesort descending Modifiers Type Description Overrides
RulesAbstractPluginDefaults::execute public function Executes the action or condition making use of the parameters as specified. Overrides RulesPluginImplInterface::execute
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.