You are here

public static function SecureLoginCacheContext::getLabel in Secure Login 8

Returns the label of the cache context.

Return value

string The label of the cache context.

Overrides UrlCacheContext::getLabel

File

src/SecureLoginCacheContext.php, line 17

Class

SecureLoginCacheContext
Defines the SecureLoginCacheContext service for "per request URL" caching.

Namespace

Drupal\securelogin

Code

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