You are here

public function CompiledRoute::getDefaults in Zircon Profile 8

Same name and namespace in other branches
  1. 8.0 core/lib/Drupal/Core/Routing/CompiledRoute.php \Drupal\Core\Routing\CompiledRoute::getDefaults()

Returns the defaults.

Return value

array The defaults.

File

core/lib/Drupal/Core/Routing/CompiledRoute.php, line 131
Contains \Drupal\Core\Routing\CompiledRoute.

Class

CompiledRoute
A compiled route contains derived information from a route object.

Namespace

Drupal\Core\Routing

Code

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