function SectionComponent::setConfiguration

Same name in other branches
  1. 9 core/modules/layout_builder/src/SectionComponent.php \Drupal\layout_builder\SectionComponent::setConfiguration()
  2. 10 core/modules/layout_builder/src/SectionComponent.php \Drupal\layout_builder\SectionComponent::setConfiguration()
  3. 11.x 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_builder

Code

public function setConfiguration(array $configuration) {
    $this->configuration = $configuration;
    return $this;
}

Buggy or inaccurate documentation? Please file an issue. Need support? Need help programming? Connect with the Drupal community.