Skip to main content
Drupal API
Menu
User account menu
Log in
Breadcrumb
Drupal Core 11.1.x
Route.php
function Route::hasOption
File
vendor/
symfony/
routing/
Route.php
, line 259
Class
Route
A Route describes a route and its parameters.
Namespace
Symfony\Component\Routing
Code
public
function
hasOption
(string
$name
) : bool {
return
\array_key_exists
(
$name
,
$this
->
options
); }
RSS feed