function RuleExpression::getConfiguration
Overrides ExpressionBase::getConfiguration
File
-
src/
Plugin/ RulesExpression/ RuleExpression.php, line 201
Class
- RuleExpression
- Provides a rule, executing actions when conditions are met.
Namespace
Drupal\rules\Plugin\RulesExpressionCode
public function getConfiguration() {
$configuration = parent::getConfiguration();
// We need to update the configuration in case actions/conditions have been
// added or changed.
$configuration['conditions'] = $this->conditions
->getConfiguration();
$configuration['actions'] = $this->actions
->getConfiguration();
return $configuration;
}