You are here

public function BusinessRulesItemPluginBase::__construct in Business Rules 8

Same name and namespace in other branches
  1. 2.x src/Plugin/BusinessRulesItemPluginBase.php \Drupal\business_rules\Plugin\BusinessRulesItemPluginBase::__construct()

Constructs a \Drupal\Component\Plugin\PluginBase object.

Parameters

array $configuration: A configuration array containing information about the plugin instance.

string $plugin_id: The plugin_id for the plugin instance.

mixed $plugin_definition: The plugin implementation definition.

Overrides PluginBase::__construct

11 calls to BusinessRulesItemPluginBase::__construct()
ActionSet::__construct in src/Plugin/BusinessRulesAction/ActionSet.php
Constructs a \Drupal\Component\Plugin\PluginBase object.
ChangeFieldInfo::__construct in src/Plugin/BusinessRulesAction/ChangeFieldInfo.php
Constructs a \Drupal\Component\Plugin\PluginBase object.
EntityEmptyVariable::__construct in src/Plugin/BusinessRulesVariable/EntityEmptyVariable.php
Constructs a \Drupal\Component\Plugin\PluginBase object.
FillEntityVariableFields::__construct in src/Plugin/BusinessRulesAction/FillEntityVariableFields.php
Constructs a \Drupal\Component\Plugin\PluginBase object.
LogicalAnd::__construct in src/Plugin/BusinessRulesCondition/LogicalAnd.php
Constructs a \Drupal\Component\Plugin\PluginBase object.

... See full list

11 methods override BusinessRulesItemPluginBase::__construct()
ActionSet::__construct in src/Plugin/BusinessRulesAction/ActionSet.php
Constructs a \Drupal\Component\Plugin\PluginBase object.
ChangeFieldInfo::__construct in src/Plugin/BusinessRulesAction/ChangeFieldInfo.php
Constructs a \Drupal\Component\Plugin\PluginBase object.
EntityEmptyVariable::__construct in src/Plugin/BusinessRulesVariable/EntityEmptyVariable.php
Constructs a \Drupal\Component\Plugin\PluginBase object.
FillEntityVariableFields::__construct in src/Plugin/BusinessRulesAction/FillEntityVariableFields.php
Constructs a \Drupal\Component\Plugin\PluginBase object.
LogicalAnd::__construct in src/Plugin/BusinessRulesCondition/LogicalAnd.php
Constructs a \Drupal\Component\Plugin\PluginBase object.

... See full list

File

src/Plugin/BusinessRulesItemPluginBase.php, line 37

Class

BusinessRulesItemPluginBase
Base Class for Business rules plugins.

Namespace

Drupal\business_rules\Plugin

Code

public function __construct(array $configuration, $plugin_id, $plugin_definition) {
  parent::__construct($configuration, $plugin_id, $plugin_definition);
  $this->processor = \Drupal::service('business_rules.processor');
  $this->util = \Drupal::service('business_rules.util');
}