You are here

abstract class BusinessRulesActionPlugin in Business Rules 2.x

Same name and namespace in other branches
  1. 8 src/Plugin/BusinessRulesActionPlugin.php \Drupal\business_rules\Plugin\BusinessRulesActionPlugin

Base class for Business rules Action plugins.

Hierarchy

Expanded class hierarchy of BusinessRulesActionPlugin

27 files declare their use of BusinessRulesActionPlugin
ActionSet.php in src/Plugin/BusinessRulesAction/ActionSet.php
AddNodeToGroupAction.php in modules/br_group/src/Plugin/BusinessRulesAction/AddNodeToGroupAction.php
AddRoleToUser.php in src/Plugin/BusinessRulesAction/AddRoleToUser.php
AddUserToGroupAction.php in modules/br_group/src/Plugin/BusinessRulesAction/AddUserToGroupAction.php
AssignRoleToUserAction.php in modules/br_group/src/Plugin/BusinessRulesAction/AssignRoleToUserAction.php

... See full list

File

src/Plugin/BusinessRulesActionPlugin.php, line 11

Namespace

Drupal\business_rules\Plugin
View source
abstract class BusinessRulesActionPlugin extends BusinessRulesItemPluginBase implements BusinessRulesActionPluginInterface {

  /**
   * {@inheritdoc}
   */
  public abstract function execute(ActionInterface $action, BusinessRulesEvent $event);

}

Members

Namesort descending Modifiers Type Description Overrides
BusinessRulesActionPlugin::execute abstract public function Execute the action. Overrides BusinessRulesActionPluginInterface::execute 27
BusinessRulesItemPluginBase::$processor protected property The business rules processor.
BusinessRulesItemPluginBase::$util protected property The business rules util.
BusinessRulesItemPluginBase::buildForm public function Form constructor. Overrides BusinessRulesItemPluginInterface::buildForm 11
BusinessRulesItemPluginBase::getDescription public function Provide a description of the item. Overrides BusinessRulesItemPluginInterface::getDescription
BusinessRulesItemPluginBase::getEditUrl public function Get the redirect url for the item edit-form route. Overrides BusinessRulesItemPluginInterface::getEditUrl
BusinessRulesItemPluginBase::getGroup public function Provide the group of the item. Overrides BusinessRulesItemPluginInterface::getGroup
BusinessRulesItemPluginBase::getRedirectUrl public function Get the redirect url for the item collection route. Overrides BusinessRulesItemPluginInterface::getRedirectUrl
BusinessRulesItemPluginBase::getSettingsForm abstract public function Return the form array. Overrides BusinessRulesItemPluginInterface::getSettingsForm 43
BusinessRulesItemPluginBase::getVariables public function Return a variable set with all used variables on the item. Overrides BusinessRulesItemPluginInterface::getVariables 9
BusinessRulesItemPluginBase::pregMatch public function Extract the variables from the plugin settings. Overrides BusinessRulesItemPluginInterface::pregMatch
BusinessRulesItemPluginBase::processSettings public function Process the item settings before it's saved. Overrides BusinessRulesItemPluginInterface::processSettings 19
BusinessRulesItemPluginBase::processTokenArraySetting private function Helper function to process tokens if the setting is an array.
BusinessRulesItemPluginBase::processTokens public function Process the tokens on the settings property for the item. Overrides BusinessRulesItemPluginInterface::processTokens
BusinessRulesItemPluginBase::processVariables public function Process the item replacing the variables by it's values. Overrides BusinessRulesItemPluginInterface::processVariables 1
BusinessRulesItemPluginBase::validateForm public function Plugin form validator. Overrides BusinessRulesItemPluginInterface::validateForm 11
BusinessRulesItemPluginBase::__construct public function Constructs a \Drupal\Component\Plugin\PluginBase object. Overrides PluginBase::__construct 11
BusinessRulesItemPluginInterface::VARIABLE_REGEX constant
PluginBase::$configuration protected property Configuration information passed into the plugin. 1
PluginBase::$pluginDefinition protected property The plugin implementation definition. 1
PluginBase::$pluginId protected property The plugin_id.
PluginBase::DERIVATIVE_SEPARATOR constant A string which is used to separate base plugin IDs from the derivative ID.
PluginBase::getBaseId public function Gets the base_plugin_id of the plugin instance. Overrides DerivativeInspectionInterface::getBaseId
PluginBase::getDerivativeId public function Gets the derivative_id of the plugin instance. Overrides DerivativeInspectionInterface::getDerivativeId
PluginBase::getPluginDefinition public function Gets the definition of the plugin implementation. Overrides PluginInspectionInterface::getPluginDefinition 2
PluginBase::getPluginId public function Gets the plugin_id of the plugin instance. Overrides PluginInspectionInterface::getPluginId
PluginBase::isConfigurable public function Determines if the plugin is configurable.