$request->attributes->get(RouteObjectInterface::ROUTE_NAME) . This is really not an easy or friendly way to get to the route name.

Comments

tim.plunkett’s picture

Status: Active » Closed (duplicate)
Related issues: +#2103301: Add a helper class to introspect a given request

Feel free to hijack my issue to not just be about procedural...