function ActionExpression::setConfiguration
Overrides ExpressionBase::setConfiguration
File
-
src/
Plugin/ RulesExpression/ ActionExpression.php, line 89
Class
- ActionExpression
- Provides an executable action expression.
Namespace
Drupal\rules\Plugin\RulesExpressionCode
public function setConfiguration(array $configuration) {
// If the plugin id has been set already, keep it if not specified.
if (isset($this->configuration['action_id'])) {
$configuration += [
'action_id' => $this->configuration['action_id'],
];
}
return parent::setConfiguration($configuration);
}