function ConfigMapperPopulateEvent::getRouteMatch

Same name in other branches
  1. 9 core/modules/config_translation/src/Event/ConfigMapperPopulateEvent.php \Drupal\config_translation\Event\ConfigMapperPopulateEvent::getRouteMatch()
  2. 10 core/modules/config_translation/src/Event/ConfigMapperPopulateEvent.php \Drupal\config_translation\Event\ConfigMapperPopulateEvent::getRouteMatch()
  3. 11.x 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;
}

Buggy or inaccurate documentation? Please file an issue. Need support? Need help programming? Connect with the Drupal community.