You are here

public function FieldAccess::__construct in Commerce Cart API 8

Constructs a new FieldAccess object.

Parameters

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

File

src/FieldAccess.php, line 27

Class

FieldAccess

Namespace

Drupal\commerce_cart_api

Code

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