class RouteSubscriber extends RouteSubscriberBase (View source)

Subscriber for Field UI routes.

Properties

protected EntityTypeManagerInterface $entityTypeManager

The entity type manager service.

Methods

alterRoutes(RouteCollection $collection)

Alters existing routes for a specific collection.

static array
getSubscribedEvents()

{@inheritdoc}

onAlterRoutes(RouteBuildEvent $event)

Delegates the route altering to self::alterRoutes().

__construct(EntityTypeManagerInterface $entity_type_manager)

Constructs a RouteSubscriber object.

Details

protected alterRoutes(RouteCollection $collection)

Alters existing routes for a specific collection.

Parameters

RouteCollection $collection

The route collection for adding routes.

static array getSubscribedEvents()

{@inheritdoc}

Return Value

array

onAlterRoutes(RouteBuildEvent $event)

Delegates the route altering to self::alterRoutes().

Parameters

RouteBuildEvent $event

The route build event.

__construct(EntityTypeManagerInterface $entity_type_manager)

Constructs a RouteSubscriber object.

Parameters

EntityTypeManagerInterface $entity_type_manager

The entity type manager service.