You are here

public static function CacheContextInterface::getLabel in Render cache 7.2

Returns the label of the cache context.

Return value

string The label of the cache context.

File

lib/Drupal/Core/Cache/CacheContextInterface.php, line 21
Contains \Drupal\Core\Cache\CacheContextInterface.

Class

CacheContextInterface
Provides an interface for defining a cache context service.

Namespace

Drupal\Core\Cache

Code

public static function getLabel();