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.