RouteSubscriber
extends RouteSubscriberBase
in package
FinalYes
The route subscriber for the catalog item entity type.
Table of Contents
Methods
- alterRoutes() : void
- Alter route method.
Methods
alterRoutes()
Alter route method.
protected
alterRoutes(RouteCollection $collection) : void
We handle catalog items a bit different than Core expects. This method accounts for that.
Ensures that all paths to access catalog items are as follows;
/admin/ilms/catalog/{catalog_item_type}/{catalog_item}
Parameters
- $collection : RouteCollection
-
The collection of routes for this subscriber.