You are here

public function LayoutParagraphsAllowedTypesEvent::getLayout in Layout Paragraphs 2.0.x

Get the layout.

Return value

\Drupal\layout_paragraphs\LayoutParagraphsLayout The layout object.

File

src/Event/LayoutParagraphsAllowedTypesEvent.php, line 111

Class

LayoutParagraphsAllowedTypesEvent
Class definition for Layout Paragraphs Allowed Types event.

Namespace

Drupal\layout_paragraphs\Event

Code

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