ContentPreprocess::$routeMatch
The route match service.
Type: \Drupal\Core\Routing\RouteMatchInterface
File
-
core/
modules/ content_moderation/ src/ ContentPreprocess.php, line 22
Class
- ContentPreprocess
- Determines whether a route is the "Latest version" tab of a node.
Namespace
Drupal\content_moderationCode
protected $routeMatch;
Buggy or inaccurate documentation? Please file an issue. Need support? Need help programming? Connect with the Drupal community.