public function SectionComponent::__construct in Drupal 10
Same name and namespace in other branches
- 8 core/modules/layout_builder/src/SectionComponent.php \Drupal\layout_builder\SectionComponent::__construct()
- 9 core/modules/layout_builder/src/SectionComponent.php \Drupal\layout_builder\SectionComponent::__construct()
Constructs a new SectionComponent.
Parameters
string $uuid: The UUID.
string $region: The region.
mixed[] $configuration: The plugin configuration.
mixed[] $additional: An additional values.
File
- core/
modules/ layout_builder/ src/ SectionComponent.php, line 70
Class
- SectionComponent
- Provides a value object for a section component.
Namespace
Drupal\layout_builderCode
public function __construct($uuid, $region, array $configuration = [], array $additional = []) {
$this->uuid = $uuid;
$this->region = $region;
$this->configuration = $configuration;
$this->additional = $additional;
}