You are here

public function ConfigMapperPopulateEvent::getRouteMatch in Drupal 10

Same name and namespace in other branches
  1. 8 core/modules/config_translation/src/Event/ConfigMapperPopulateEvent.php \Drupal\config_translation\Event\ConfigMapperPopulateEvent::getRouteMatch()
  2. 9 core/modules/config_translation/src/Event/ConfigMapperPopulateEvent.php \Drupal\config_translation\Event\ConfigMapperPopulateEvent::getRouteMatch()

Gets the route match this event is related to.

Return value

\Drupal\Core\Routing\RouteMatchInterface The route match this event is related to.

File

core/modules/config_translation/src/Event/ConfigMapperPopulateEvent.php, line 57

Class

ConfigMapperPopulateEvent
Provides a class for events related to configuration translation mappers.

Namespace

Drupal\config_translation\Event

Code

public function getRouteMatch() {
  return $this->routeMatch;
}