You are here

public static function IsCurrentUserPageCacheContext::getLabel in Opigno dashboard 3.x

Returns the label of the cache context.

Return value

string The label of the cache context.

Overrides CacheContextInterface::getLabel

File

src/Cache/Context/IsCurrentUserPageCacheContext.php, line 47

Class

IsCurrentUserPageCacheContext
Defines a cache context for whether the URL is the current user page.

Namespace

Drupal\opigno_dashboard\Cache\Context

Code

public static function getLabel() {
  return t('Is current user page');
}