protected function Url::accessManager in Drupal 10
Same name and namespace in other branches
- 8 core/lib/Drupal/Core/Url.php \Drupal\Core\Url::accessManager()
- 9 core/lib/Drupal/Core/Url.php \Drupal\Core\Url::accessManager()
Return value
\Drupal\Core\Access\AccessManagerInterface
1 call to Url::accessManager()
- Url::access in core/
lib/ Drupal/ Core/ Url.php - Checks this Url object against applicable access check services.
File
- core/
lib/ Drupal/ Core/ Url.php, line 847
Class
- Url
- Defines an object that holds information about a URL.
Namespace
Drupal\CoreCode
protected function accessManager() {
if (!isset($this->accessManager)) {
$this->accessManager = \Drupal::service('access_manager');
}
return $this->accessManager;
}