You are here

public function ExpressionBase::getConfiguration in Rules 8.3

Gets this plugin's configuration.

Return value

array An array of this plugin's configuration.

Overrides ConfigurableInterface::getConfiguration

3 calls to ExpressionBase::getConfiguration()
ActionExpressionContainer::getConfiguration in src/Engine/ActionExpressionContainer.php
Gets this plugin's configuration.
ConditionExpressionContainer::getConfiguration in src/Engine/ConditionExpressionContainer.php
Gets this plugin's configuration.
RuleExpression::getConfiguration in src/Plugin/RulesExpression/RuleExpression.php
Gets this plugin's configuration.
3 methods override ExpressionBase::getConfiguration()
ActionExpressionContainer::getConfiguration in src/Engine/ActionExpressionContainer.php
Gets this plugin's configuration.
ConditionExpressionContainer::getConfiguration in src/Engine/ConditionExpressionContainer.php
Gets this plugin's configuration.
RuleExpression::getConfiguration in src/Plugin/RulesExpression/RuleExpression.php
Gets this plugin's configuration.

File

src/Engine/ExpressionBase.php, line 78

Class

ExpressionBase
Base class for rules expressions.

Namespace

Drupal\rules\Engine

Code

public function getConfiguration() {
  return [
    'id' => $this
      ->getPluginId(),
    'uuid' => $this->uuid,
    'weight' => $this->weight,
  ] + $this->configuration;
}