Skip to main content
5 events
when toggle format what by license comment
Oct 8, 2018 at 9:06 comment added leymannx I needed this plus $route_match->getRouteName() == 'entity.node.revision' to work on revisions as well.
Mar 20, 2017 at 14:18 vote accept BrandenB171
Dec 1, 2016 at 21:20 vote accept BrandenB171
Dec 1, 2016 at 21:21
Feb 29, 2016 at 19:32 comment added Berdir The route name check is fine, but don't use the node attribute. That's also present on many other pages, like a node edit form, revisions overviews and so on. Someone could even mess with your head and make a /tricked/you/{node} route that's actually a user ;)
Feb 29, 2016 at 17:13 history answered Kevin CC BY-SA 3.0