Skip to main content
Hostdog docs
Documentation & API reference
Main menu
Drupal 7
Drupal 8
Drupal 9
You are here
Home
»
API reference
»
Drupal 9.x
»
Route.php
»
Route
Search Drupal 9.x
Function, class, file, topic, etc.
*
Partial match search is supported
API Navigation
Drupal 9.x
Topics
Classes
Functions
Files
Namespaces
Constants
Globals
Deprecated
public function Route::setName
File
drupal/
core/
vendor/
symfony/
routing/
Symfony/
Component/
Routing/
Annotation/
Route.php
, line 64
Class
Route
Annotation class for @Route().
Namespace
Symfony\Component\Routing\Annotation
Code
public
function
setName
(
$name
) {
$this
->
name
=
$name
; }