function Section::setLayoutSettings
Same name in other branches
- 9 core/modules/layout_builder/src/Section.php \Drupal\layout_builder\Section::setLayoutSettings()
- 8.9.x core/modules/layout_builder/src/Section.php \Drupal\layout_builder\Section::setLayoutSettings()
- 11.x core/modules/layout_builder/src/Section.php \Drupal\layout_builder\Section::setLayoutSettings()
Sets the layout plugin settings for this section.
Parameters
mixed[] $layout_settings: The layout plugin settings.
Return value
$this
File
-
core/
modules/ layout_builder/ src/ Section.php, line 157
Class
- Section
- Provides a domain object for layout sections.
Namespace
Drupal\layout_builderCode
public function setLayoutSettings(array $layout_settings) {
$this->layoutSettings = $layout_settings;
return $this;
}
Buggy or inaccurate documentation? Please file an issue. Need support? Need help programming? Connect with the Drupal community.