public function CompiledRoute::getRequirements in Zircon Profile 8
Same name and namespace in other branches
- 8.0 core/lib/Drupal/Core/Routing/CompiledRoute.php \Drupal\Core\Routing\CompiledRoute::getRequirements()
Returns the requirements.
Return value
array The requirements.
File
- core/
lib/ Drupal/ Core/ Routing/ CompiledRoute.php, line 141 - Contains \Drupal\Core\Routing\CompiledRoute.
Class
- CompiledRoute
- A compiled route contains derived information from a route object.
Namespace
Drupal\Core\RoutingCode
public function getRequirements() {
return $this->route
->getRequirements();
}