You are here

public function LayoutParagraphsSection::getLayoutId in Layout Paragraphs 2.0.x

Returns the layout plugin id.

Return value

string The layout id.

File

src/LayoutParagraphsSection.php, line 107

Class

LayoutParagraphsSection
Provides a domain object for a Layout Paragraphs Section.

Namespace

Drupal\layout_paragraphs

Code

public function getLayoutId() {
  $settings = $this
    ->getSettings();
  return $settings['layout'];
}