function LayoutBuilderUiCacheContext::getLabel

Same name in other branches
  1. 9 core/modules/layout_builder/src/Cache/LayoutBuilderUiCacheContext.php \Drupal\layout_builder\Cache\LayoutBuilderUiCacheContext::getLabel()
  2. 8.9.x core/modules/layout_builder/src/Cache/LayoutBuilderUiCacheContext.php \Drupal\layout_builder\Cache\LayoutBuilderUiCacheContext::getLabel()
  3. 11.x core/modules/layout_builder/src/Cache/LayoutBuilderUiCacheContext.php \Drupal\layout_builder\Cache\LayoutBuilderUiCacheContext::getLabel()

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\Cache

Code

public static function getLabel() {
    return t('Layout Builder user interface');
}

Buggy or inaccurate documentation? Please file an issue. Need support? Need help programming? Connect with the Drupal community.