public function RuleComponent::setConfiguration in RNG - Events and Registrations 8
Same name and namespace in other branches
- 8.2 src/Entity/RuleComponent.php \Drupal\rng\Entity\RuleComponent::setConfiguration()
- 3.x src/Entity/RuleComponent.php \Drupal\rng\Entity\RuleComponent::setConfiguration()
Sets the plugin configuration.
Parameters
array $configuration: Mixed configuration
Return value
\Drupal\rng\RuleComponentInterface Return this object for chaining.
Overrides RuleComponentInterface::setConfiguration
File
- src/
Entity/ RuleComponent.php, line 93
Class
- RuleComponent
- Defines a event rule plugin instance entity: a condition or action.
Namespace
Drupal\rng\EntityCode
public function setConfiguration(array $configuration) {
$this
->set('configuration', $configuration);
return $this;
}