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

Breadcrumb

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

function RequestContext::setParameter

Sets a parameter value.

Return value

$this

File

vendor/symfony/routing/RequestContext.php, line 299

Class

RequestContext
Holds information about the current request.

Namespace

Symfony\Component\Routing

Code

public function setParameter(string $name, mixed $parameter) : static {
    $this->parameters[$name] = $parameter;
    return $this;
}

API Navigation

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