function PrepareLayout::getSubscribedEvents
File
-
core/
modules/ layout_builder/ src/ EventSubscriber/ PrepareLayout.php, line 56
Class
- PrepareLayout
- An event subscriber to prepare section storage.
Namespace
Drupal\layout_builder\EventSubscriberCode
public static function getSubscribedEvents() {
$events[LayoutBuilderEvents::PREPARE_LAYOUT][] = [
'onPrepareLayout',
10,
];
return $events;
}
Buggy or inaccurate documentation? Please file an issue. Need support? Need help programming? Connect with the Drupal community.