Chris@17: mapper = $mapper; Chris@17: $this->routeMatch = $route_match; Chris@17: } Chris@17: Chris@17: /** Chris@17: * Gets the configuration mapper this event is related to. Chris@17: * Chris@17: * @return \Drupal\config_translation\ConfigMapperInterface Chris@17: * The configuration mapper this event is related to. Chris@17: */ Chris@17: public function getMapper() { Chris@17: return $this->mapper; Chris@17: } Chris@17: Chris@17: /** Chris@17: * Gets the route match this event is related to. Chris@17: * Chris@17: * @return \Drupal\Core\Routing\RouteMatchInterface Chris@17: * The route match this event is related to. Chris@17: */ Chris@17: public function getRouteMatch() { Chris@17: return $this->routeMatch; Chris@17: } Chris@17: Chris@17: }