RouteProvider::$extraCacheKeyParts

Same name in other branches
  1. 8.9.x core/lib/Drupal/Core/Routing/RouteProvider.php \Drupal\Core\Routing\RouteProvider::extraCacheKeyParts
  2. 10 core/lib/Drupal/Core/Routing/RouteProvider.php \Drupal\Core\Routing\RouteProvider::extraCacheKeyParts
  3. 11.x core/lib/Drupal/Core/Routing/RouteProvider.php \Drupal\Core\Routing\RouteProvider::extraCacheKeyParts

An array of cache key parts to be used for the route match cache.

Type: string[]

File

core/lib/Drupal/Core/Routing/RouteProvider.php, line 104

Class

RouteProvider
A Route Provider front-end for all Drupal-stored routes.

Namespace

Drupal\Core\Routing

Code

protected $extraCacheKeyParts = [];

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