You are here

protected function Url::accessManager in Zircon Profile 8

Same name and namespace in other branches
  1. 8.0 core/lib/Drupal/Core/Url.php \Drupal\Core\Url::accessManager()

Return value

\Drupal\Core\Access\AccessManagerInterface

File

core/lib/Drupal/Core/Url.php, line 826
Contains \Drupal\Core\Url.

Class

Url
Defines an object that holds information about a URL.

Namespace

Drupal\Core

Code

protected function accessManager() {
  if (!isset($this->accessManager)) {
    $this->accessManager = \Drupal::service('access_manager');
  }
  return $this->accessManager;
}