DenyNoCacheRoutes::$routeMatch

Same name in other branches
  1. 8.9.x core/lib/Drupal/Core/PageCache/ResponsePolicy/DenyNoCacheRoutes.php \Drupal\Core\PageCache\ResponsePolicy\DenyNoCacheRoutes::routeMatch
  2. 10 core/lib/Drupal/Core/PageCache/ResponsePolicy/DenyNoCacheRoutes.php \Drupal\Core\PageCache\ResponsePolicy\DenyNoCacheRoutes::routeMatch
  3. 11.x core/lib/Drupal/Core/PageCache/ResponsePolicy/DenyNoCacheRoutes.php \Drupal\Core\PageCache\ResponsePolicy\DenyNoCacheRoutes::routeMatch

The current route match.

Type: \Drupal\Core\Routing\RouteMatchInterface

File

core/lib/Drupal/Core/PageCache/ResponsePolicy/DenyNoCacheRoutes.php, line 23

Class

DenyNoCacheRoutes
Cache policy for routes with the 'no_cache' option set.

Namespace

Drupal\Core\PageCache\ResponsePolicy

Code

protected $routeMatch;

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