public function CompiledRoute::getRequirements

public CompiledRoute::getRequirements()

Returns the requirements.

Return value

array The requirements.

File

core/lib/Drupal/Core/Routing/CompiledRoute.php, line 136

Class

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

Namespace

Drupal\Core\Routing

Code

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

© 2001–2016 by the original authors
Licensed under the GNU General Public License, version 2 and later.
Drupal is a registered trademark of Dries Buytaert.
https://api.drupal.org/api/drupal/core!lib!Drupal!Core!Routing!CompiledRoute.php/function/CompiledRoute::getRequirements/8.1.x