class RulesAbstractPluginDefaults

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 2179

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

}

Members

Title Sort descending Modifiers Object type Summary Overriden Title
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
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.