Answers for "get the current route in drupal 8"

1

drupal 8 get page route

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

Browse Popular Code Answers by Language