You are here

private function WebformAjax::getParameter in Webform CiviCRM Integration 8.5

Replacement of the reading of $_GET

Parameters

$name:

Return value

mixed

1 call to WebformAjax::getParameter()
WebformAjax::contactAjax in src/WebformAjax.php
Load one or more contacts via ajax

File

src/WebformAjax.php, line 33
Front-end form ajax handler.

Class

WebformAjax
Class WebformAjax

Namespace

Drupal\webform_civicrm

Code

private function getParameter($name) {
  return $this->requestStack
    ->getCurrentRequest()->query
    ->get($name);
}