Skip to main content
Drupal API
User account menu
  • Log in

Breadcrumb

  1. Drupal Core 11.1.x
  2. Request.php

function Request::getQueryString

Generates the normalized query string for the Request.

It builds a normalized query string, where keys/value pairs are alphabetized and have consistent escaping.

1 call to Request::getQueryString()
Request::getUri in vendor/symfony/http-foundation/Request.php
Generates a normalized URI (URL) for the Request.

File

vendor/symfony/http-foundation/Request.php, line 1044

Class

Request
Request represents an HTTP request.

Namespace

Symfony\Component\HttpFoundation

Code

public function getQueryString() : ?string {
    $qs = static::normalizeQueryString($this->server
        ->get('QUERY_STRING'));
    return '' === $qs ? null : $qs;
}

API Navigation

  • Drupal Core 11.1.x
  • Topics
  • Classes
  • Functions
  • Constants
  • Globals
  • Files
  • Namespaces
  • Deprecated
  • Services
RSS feed
Powered by Drupal