Skip to main content
Drupal API
User account menu
  • Log in

Breadcrumb

  1. Drupal Core 11.1.x
  2. Section.php

function 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 145

Class

Section
Provides a domain object for layout sections.

Namespace

Drupal\layout_builder

Code

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

API Navigation

  • Drupal Core 11.1.x
  • Topics
  • Classes
  • Functions
  • Constants
  • Globals
  • Files
  • Namespaces
  • Deprecated
  • Services
RSS feed
Powered by Drupal