function CompiledRoute::getDefaults

Same name in other branches
  1. 9 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 129

Class

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

Namespace

Drupal\Core\Routing

Code

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

Buggy or inaccurate documentation? Please file an issue. Need support? Need help programming? Connect with the Drupal community.