nortmas
11/1/2017 - 5:43 AM

Get current route

$route_name = \Drupal::routeMatch()->getRouteName();