You are here

public function BadgeAccessCheck::__construct in User Badges 8

Constructs the access check.

Parameters

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

File

src/Access/BadgeAccessCheck.php, line 28

Class

BadgeAccessCheck
Defines the access control handler for the badge listing.

Namespace

Drupal\user_badges\Access

Code

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