Answers for "drupal 8 get route by name"

1

drupal 8 get page route

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

Browse Popular Code Answers by Language