Url::accessManager

protected Url::accessManager()

Return value

\Drupal\Core\Access\AccessManagerInterface

File

core/lib/Drupal/Core/Url.php, line 812

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;
}
doc_Drupal
2016-10-29 09:51:38
Comments
Leave a Comment

Please login to continue.