ContentPreprocess::$routeMatch

Same name in other branches
  1. 9 core/modules/content_moderation/src/ContentPreprocess.php \Drupal\content_moderation\ContentPreprocess::routeMatch
  2. 8.9.x core/modules/content_moderation/src/ContentPreprocess.php \Drupal\content_moderation\ContentPreprocess::routeMatch
  3. 11.x core/modules/content_moderation/src/ContentPreprocess.php \Drupal\content_moderation\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_moderation

Code

protected $routeMatch;

Buggy or inaccurate documentation? Please file an issue. Need support? Need help programming? Connect with the Drupal community.