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