Answers for "Drupal 8 get current route name"

1

Drupal 8 get current route name

$route_name = \Drupal::routeMatch()->getRouteName();
Posted by: Guest on September-22-2020

Browse Popular Code Answers by Language