Skip to main content
Drupal API
User account menu
  • Log in

Breadcrumb

  1. Drupal Core 11.1.x
  2. RouteProvider.php

function RouteProvider::addExtraCacheKeyPart

Overrides CacheableRouteProviderInterface::addExtraCacheKeyPart

1 call to RouteProvider::addExtraCacheKeyPart()
RouteProvider::getRouteCollectionCacheId in core/lib/Drupal/Core/Routing/RouteProvider.php
Returns the cache ID for the route collection cache.

File

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

Class

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

Namespace

Drupal\Core\Routing

Code

public function addExtraCacheKeyPart($cache_key_provider, $cache_key_part) {
    $this->extraCacheKeyParts[$cache_key_provider] = $cache_key_part;
}

API Navigation

  • Drupal Core 11.1.x
  • Topics
  • Classes
  • Functions
  • Constants
  • Globals
  • Files
  • Namespaces
  • Deprecated
  • Services
RSS feed
Powered by Drupal