Answers for "drupal 8 get current url arguments"

1

drupal 8 get url query parameters

// URL query parameter.
\Drupal::request()->query->get('keys');

\Drupal::request()->query->all()
Posted by: Guest on September-18-2020

Browse Popular Code Answers by Language