You are here

public function LayoutBuilderLockAccessCheck::__construct in Layout Builder Lock 8

Construct a new Layout Builder Lock Access Check.

Parameters

\Drupal\Core\Routing\RouteMatchInterface $route_match: The route match.

File

src/Access/LayoutBuilderLockAccessCheck.php, line 37

Class

LayoutBuilderLockAccessCheck
Layout Builder Lock Access Check.

Namespace

Drupal\layout_builder_lock\Access

Code

public function __construct(RouteMatchInterface $route_match) {
  $this->routeMatch = $route_match;
}