You are here

public function ExpressionBase::__construct in Rules 8.3

Constructor.

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

5 calls to ExpressionBase::__construct()
ActionExpression::__construct in src/Plugin/RulesExpression/ActionExpression.php
Constructs a new class instance.
ActionExpressionContainer::__construct in src/Engine/ActionExpressionContainer.php
Constructor.
ConditionExpression::__construct in src/Plugin/RulesExpression/ConditionExpression.php
Constructs a new class instance.
ConditionExpressionContainer::__construct in src/Engine/ConditionExpressionContainer.php
Constructs a new class instance.
RuleExpression::__construct in src/Plugin/RulesExpression/RuleExpression.php
Constructs a new class instance.
5 methods override ExpressionBase::__construct()
ActionExpression::__construct in src/Plugin/RulesExpression/ActionExpression.php
Constructs a new class instance.
ActionExpressionContainer::__construct in src/Engine/ActionExpressionContainer.php
Constructor.
ConditionExpression::__construct in src/Plugin/RulesExpression/ConditionExpression.php
Constructs a new class instance.
ConditionExpressionContainer::__construct in src/Engine/ConditionExpressionContainer.php
Constructs a new class instance.
RuleExpression::__construct in src/Plugin/RulesExpression/RuleExpression.php
Constructs a new class instance.

File

src/Engine/ExpressionBase.php, line 58

Class

ExpressionBase
Base class for rules expressions.

Namespace

Drupal\rules\Engine

Code

public function __construct(array $configuration, $plugin_id, $plugin_definition) {
  parent::__construct($configuration, $plugin_id, $plugin_definition);
  $this
    ->setConfiguration($configuration);
}