public static function LayoutBuilderUiCacheContext::getLabel in Drupal 10
Same name and namespace in other branches
- 8 core/modules/layout_builder/src/Cache/LayoutBuilderUiCacheContext.php \Drupal\layout_builder\Cache\LayoutBuilderUiCacheContext::getLabel()
- 9 core/modules/layout_builder/src/Cache/LayoutBuilderUiCacheContext.php \Drupal\layout_builder\Cache\LayoutBuilderUiCacheContext::getLabel()
Returns the label of the cache context.
Return value
string The label of the cache context.
Overrides RouteNameCacheContext::getLabel
File
- core/
modules/ layout_builder/ src/ Cache/ LayoutBuilderUiCacheContext.php, line 20
Class
- LayoutBuilderUiCacheContext
- Determines if an entity is being viewed in the Layout Builder UI.
Namespace
Drupal\layout_builder\CacheCode
public static function getLabel() {
return t('Layout Builder user interface');
}