public static function LayoutBuilderIsActiveCacheContext::getLabel in Drupal 10
Same name and namespace in other branches
- 8 core/modules/layout_builder/src/Cache/LayoutBuilderIsActiveCacheContext.php \Drupal\layout_builder\Cache\LayoutBuilderIsActiveCacheContext::getLabel()
- 9 core/modules/layout_builder/src/Cache/LayoutBuilderIsActiveCacheContext.php \Drupal\layout_builder\Cache\LayoutBuilderIsActiveCacheContext::getLabel()
Returns the label of the cache context.
Return value
string The label of the cache context.
Overrides CalculatedCacheContextInterface::getLabel
See also
Cache
File
- core/
modules/ layout_builder/ src/ Cache/ LayoutBuilderIsActiveCacheContext.php, line 44
Class
- LayoutBuilderIsActiveCacheContext
- Determines whether Layout Builder is active for a given entity type or not.
Namespace
Drupal\layout_builder\CacheCode
public static function getLabel() {
return t('Layout Builder');
}