You are here

public static function IsMobileCacheContext::getLabel in Mobile Detect 8.2

Returns the label of the cache context.

Return value

string The label of the cache context.

Overrides CacheContextInterface::getLabel

File

src/Cache/Context/IsMobileCacheContext.php, line 33

Class

IsMobileCacheContext
Defines the 'Is mobile' cache context.

Namespace

Drupal\mobile_detect\Cache\Context

Code

public static function getLabel() {
  return 'Is mobile';
}