public static function SessionExistsCacheContext::getLabel in Drupal 10
Same name and namespace in other branches
- 8 core/lib/Drupal/Core/Cache/Context/SessionExistsCacheContext.php \Drupal\Core\Cache\Context\SessionExistsCacheContext::getLabel()
- 9 core/lib/Drupal/Core/Cache/Context/SessionExistsCacheContext.php \Drupal\Core\Cache\Context\SessionExistsCacheContext::getLabel()
Returns the label of the cache context.
Return value
string The label of the cache context.
Overrides CacheContextInterface::getLabel
File
- core/
lib/ Drupal/ Core/ Cache/ Context/ SessionExistsCacheContext.php, line 46
Class
- SessionExistsCacheContext
- Defines the SessionExistsCacheContext service, for "session or not" caching.
Namespace
Drupal\Core\Cache\ContextCode
public static function getLabel() {
return t('Session exists');
}