You are here

protected property LayoutBuilderIsActiveCacheContext::$routeMatch in Drupal 9

Same name and namespace in other branches
  1. 8 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 27

Class

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

Namespace

Drupal\layout_builder\Cache

Code

protected $routeMatch;