public function SectionComponent::setConfiguration in Drupal 10
Same name and namespace in other branches
- 8 core/modules/layout_builder/src/SectionComponent.php \Drupal\layout_builder\SectionComponent::setConfiguration()
- 9 core/modules/layout_builder/src/SectionComponent.php \Drupal\layout_builder\SectionComponent::setConfiguration()
Sets the plugin configuration.
Parameters
mixed[] $configuration: The plugin configuration.
Return value
$this
File
- core/
modules/ layout_builder/ src/ SectionComponent.php, line 202
Class
- SectionComponent
- Provides a value object for a section component.
Namespace
Drupal\layout_builderCode
public function setConfiguration(array $configuration) {
$this->configuration = $configuration;
return $this;
}