You are here

public function RedhenOrgRouteContext::__construct in RedHen CRM 8

Constructs a new RedhenOrgRouteContext object.

Parameters

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

File

modules/redhen_org/src/ContextProvider/RedhenOrgRouteContext.php, line 36

Class

RedhenOrgRouteContext
Sets the current org as context on redhen org routes.

Namespace

Drupal\redhen_org\ContextProvider

Code

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