Search
 
SCRIPT & CODE EXAMPLE
 
CODE EXAMPLE FOR PHP

drupal 8 $_GET

//$_GET
$name = Drupal::request()->query->get('name');

//$_POST
$name = Drupal::request()->request->get('name'); // form param
Source by drupal.stackexchange.com #
 
PREVIOUS NEXT
Tagged: #drupal
ADD COMMENT
Topic
Name
3+5 =