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

Breadcrumb

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

function SiteCacheContext::getLabel

Overrides CacheContextInterface::getLabel

File

core/lib/Drupal/Core/Cache/Context/SiteCacheContext.php, line 25

Class

SiteCacheContext
Defines the SiteCacheContext service, for "per site" caching.

Namespace

Drupal\Core\Cache\Context

Code

public static function getLabel() {
    return t('Site');
}

API Navigation

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