You are here

public function Section::setLayoutSettings in Drupal 8

Same name and namespace in other branches
  1. 9 core/modules/layout_builder/src/Section.php \Drupal\layout_builder\Section::setLayoutSettings()
  2. 10 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 138

Class

Section
Provides a domain object for layout sections.

Namespace

Drupal\layout_builder

Code

public function setLayoutSettings(array $layout_settings) {
  $this->layoutSettings = $layout_settings;
  return $this;
}