You are here

public static function PrivateMessageThreadCacheContext::getLabel in Private Message 8.2

Same name and namespace in other branches
  1. 8 src/Cache/Context/PrivateMessageThreadCacheContext.php \Drupal\private_message\Cache\Context\PrivateMessageThreadCacheContext::getLabel()

Returns the label of the cache context.

Return value

string The label of the cache context.

Overrides CacheContextInterface::getLabel

File

src/Cache/Context/PrivateMessageThreadCacheContext.php, line 36

Class

PrivateMessageThreadCacheContext
Defines the PrivateMessageThread service, for "per thread" caching.

Namespace

Drupal\private_message\Cache\Context

Code

public static function getLabel() {
  return t('Private Message Thread');
}