function Section::getLayoutSettings

Same name in other branches
  1. 9 core/modules/layout_builder/src/Section.php \Drupal\layout_builder\Section::getLayoutSettings()
  2. 10 core/modules/layout_builder/src/Section.php \Drupal\layout_builder\Section::getLayoutSettings()
  3. 11.x core/modules/layout_builder/src/Section.php \Drupal\layout_builder\Section::getLayoutSettings()

Gets the layout plugin settings for this section.

@internal This method should only be used by code responsible for storing the data.

Return value

mixed[] The layout plugin settings.

1 call to Section::getLayoutSettings()
Section::toArray in core/modules/layout_builder/src/Section.php
Returns an array representation of the section.

File

core/modules/layout_builder/src/Section.php, line 126

Class

Section
Provides a domain object for layout sections.

Namespace

Drupal\layout_builder

Code

public function getLayoutSettings() {
    return $this->getLayout()
        ->getConfiguration();
}

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