Answers for "drupal 8 get current route"

1

drupal 8 get page route

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

Browse Popular Code Answers by Language