You are here

public function TestUrl::setAccessManager in Drupal 8

Sets the access manager.

Parameters

\Drupal\Core\Access\AccessManagerInterface $access_manager:

File

core/tests/Drupal/Tests/Core/UrlTest.php, line 871
Contains \Drupal\Tests\Core\UrlTest.

Class

TestUrl

Namespace

Drupal\Tests\Core

Code

public function setAccessManager(AccessManagerInterface $access_manager) {
  $this->accessManager = $access_manager;
}