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

Breadcrumb

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

function PrepareLayoutEvent::__construct

Constructs a new PrepareLayoutEvent.

Parameters

\Drupal\layout_builder\SectionStorageInterface $section_storage: The section storage preparing the Layout.

File

core/modules/layout_builder/src/Event/PrepareLayoutEvent.php, line 31

Class

PrepareLayoutEvent
Event fired in #pre_render of \Drupal\layout_builder\Element\LayoutBuilder.

Namespace

Drupal\layout_builder\Event

Code

public function __construct(SectionStorageInterface $section_storage) {
    $this->sectionStorage = $section_storage;
}

API Navigation

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