class LayoutBuilderRoutes implements EventSubscriberInterface (View source)

internal  Tagged services are internal.
 

Provides routes for the Layout Builder UI.

Properties

protected SectionStorageManagerInterface $sectionStorageManager

The section storage manager.

Methods

__construct(SectionStorageManagerInterface $section_storage_manager)

Constructs a new LayoutBuilderRoutes.

onAlterRoutes(RouteBuildEvent $event)

Alters existing routes for a specific collection.

static 
getSubscribedEvents()

{@inheritdoc}

Details

__construct(SectionStorageManagerInterface $section_storage_manager)

Constructs a new LayoutBuilderRoutes.

Parameters

SectionStorageManagerInterface $section_storage_manager

The section storage manager.

onAlterRoutes(RouteBuildEvent $event)

Alters existing routes for a specific collection.

Parameters

RouteBuildEvent $event

The route build event.

static getSubscribedEvents()

{@inheritdoc}