public function ResponseSubscriber::setRouteMatch in JSON:API Include 8
Set route match service.
Parameters
\Drupal\Core\Routing\RouteMatchInterface $route_match: The route match service.
File
- src/
EventSubscriber/ ResponseSubscriber.php, line 75
Class
- ResponseSubscriber
- Class ResponseSubscriber.
Namespace
Drupal\jsonapi_include\EventSubscriberCode
public function setRouteMatch(RouteMatchInterface $route_match) {
$this->routeMatch = $route_match;
}