RouteSubscriber
class RouteSubscriber extends RouteSubscriberBase (View source)
Listens to the dynamic route events.
Properties
| protected ConfigMapperManagerInterface | $mapperManager | The mapper plugin discovery service. |
Methods
alterRoutes(RouteCollection $collection)
Alters existing routes for a specific collection.
static
getSubscribedEvents()
{@inheritdoc}
from
RouteSubscriberBase
Details
protected
alterRoutes(RouteCollection $collection)
Alters existing routes for a specific collection.
static
getSubscribedEvents()
{@inheritdoc}
onAlterRoutes(RouteBuildEvent $event)
Delegates the route altering to self::alterRoutes().
__construct(ConfigMapperManagerInterface $mapper_manager)
Constructs a new RouteSubscriber.