public function SupportTicketRouteContext::__construct in Support Ticketing System 8
Constructs a new SupportTicketRouteContext.
Parameters
\Drupal\Core\Routing\RouteMatchInterface $route_match: The route match object.
File
- modules/
support_ticket/ src/ ContextProvider/ SupportTicketRouteContext.php, line 35 - Contains \Drupal\support_ticket\ContextProvider\SupportTicketRouteContext.
Class
- SupportTicketRouteContext
- Sets the current support ticket as a context on support ticket routes.
Namespace
Drupal\support_ticket\ContextProviderCode
public function __construct(RouteMatchInterface $route_match) {
$this->routeMatch = $route_match;
}