LayoutBuilderIsActiveCacheContext::$routeMatch

Same name in other branches
  1. 9 core/modules/layout_builder/src/Cache/LayoutBuilderIsActiveCacheContext.php \Drupal\layout_builder\Cache\LayoutBuilderIsActiveCacheContext::routeMatch
  2. 8.9.x core/modules/layout_builder/src/Cache/LayoutBuilderIsActiveCacheContext.php \Drupal\layout_builder\Cache\LayoutBuilderIsActiveCacheContext::routeMatch
  3. 10 core/modules/layout_builder/src/Cache/LayoutBuilderIsActiveCacheContext.php \Drupal\layout_builder\Cache\LayoutBuilderIsActiveCacheContext::routeMatch

The current route match.

Type: \Drupal\Core\Routing\RouteMatchInterface

File

core/modules/layout_builder/src/Cache/LayoutBuilderIsActiveCacheContext.php, line 29

Class

LayoutBuilderIsActiveCacheContext
Determines whether Layout Builder is active for a given entity type or not.

Namespace

Drupal\layout_builder\Cache

Code

protected $routeMatch;

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