You are here

public function RedhenContactRouteContext::__construct in RedHen CRM 8

Constructs a new RedhenContactRouteContext object.

Parameters

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

File

modules/redhen_contact/src/ContextProvider/RedhenContactRouteContext.php, line 36

Class

RedhenContactRouteContext
Sets the current contact as context on redhen contact routes.

Namespace

Drupal\redhen_contact\ContextProvider

Code

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