public PathRootsSubscriber::__construct(StateInterface
Stores the path roots available in the router. A path root is the first virtual directory of a path, like 'admin', 'node' or 'user'.
public static PathRootsSubscriber::getSubscribed
Provides all available first bits of all route paths. Hierarchy class \Drupal\Cor
public PathRootsSubscriber::onRouteFinished()
The state key value store. Type:
public PathRootsSubscriber::onRouteAlter(RouteBuildEvent