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

Breadcrumb

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

function Route::addOptions

Return value

$this

1 call to Route::addOptions()
Route::setOptions in vendor/symfony/routing/Route.php

File

vendor/symfony/routing/Route.php, line 228

Class

Route
A Route describes a route and its parameters.

Namespace

Symfony\Component\Routing

Code

public function addOptions(array $options) : static {
    foreach ($options as $name => $option) {
        $this->options[$name] = $option;
    }
    $this->compiled = null;
    return $this;
}

API Navigation

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