You are here

public function Section::getLayoutId in Drupal 10

Same name and namespace in other branches
  1. 8 core/modules/layout_builder/src/Section.php \Drupal\layout_builder\Section::getLayoutId()
  2. 9 core/modules/layout_builder/src/Section.php \Drupal\layout_builder\Section::getLayoutId()

Gets the layout plugin ID for this section.

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

Return value

string The layout plugin ID.

3 calls to Section::getLayoutId()
Section::getDefaultRegion in core/modules/layout_builder/src/Section.php
Gets the default region.
Section::getLayout in core/modules/layout_builder/src/Section.php
Gets the layout plugin for this section.
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 getLayoutId() {
  return $this->layoutId;
}