public function Url::isRouted in Drupal 9
Same name and namespace in other branches
- 8 core/lib/Drupal/Core/Url.php \Drupal\Core\Url::isRouted()
- 10 core/lib/Drupal/Core/Url.php \Drupal\Core\Url::isRouted()
Indicates if this Url has a Drupal route.
Return value
bool
2 calls to Url::isRouted()
- Url::access in core/
lib/ Drupal/ Core/ Url.php - Checks this Url object against applicable access check services.
- Url::toUriString in core/
lib/ Drupal/ Core/ Url.php - Generates a URI string that represents the data in the Url object.
File
- core/
lib/ Drupal/ Core/ Url.php, line 551
Class
- Url
- Defines an object that holds information about a URL.
Namespace
Drupal\CoreCode
public function isRouted() {
return !$this->unrouted;
}