public function Route::getDefaults

Same name in this branch
  1. 9.x drupal/core/vendor/symfony/routing/Symfony/Component/Routing/Route.php \Symfony\Component\Routing\Route::getDefaults()
  2. 9.x drupal/core/vendor/symfony/routing/Symfony/Component/Routing/Annotation/Route.php \Symfony\Component\Routing\Annotation\Route::getDefaults()

Returns the defaults.

Return value

array The defaults

File

drupal/core/vendor/symfony/routing/Symfony/Component/Routing/Route.php, line 194

Class

Route
A Route describes a route and its parameters.

Namespace

Symfony\Component\Routing

Code

public function getDefaults() {
  return $this->defaults;
}