Answers for "Drupal 8 create URL with parameters"

0

drupal 8 get argument from url

$current_path = substr(\Drupal::service('path.current')->getPath(), 1);
$path_args = explode('/', $current_path);
Posted by: Guest on November-05-2020

Code answers related to "Drupal 8 create URL with parameters"

Browse Popular Code Answers by Language