function TestUrl::setAccessManager
Same name in other branches
- 9 core/tests/Drupal/Tests/Core/UrlTest.php \Drupal\Tests\Core\TestUrl::setAccessManager()
- 8.9.x core/tests/Drupal/Tests/Core/UrlTest.php \Drupal\Tests\Core\TestUrl::setAccessManager()
- 10 core/tests/Drupal/Tests/Core/UrlTest.php \Drupal\Tests\Core\TestUrl::setAccessManager()
Sets the access manager.
Parameters
\Drupal\Core\Access\AccessManagerInterface $access_manager: The access manager.
File
-
core/
tests/ Drupal/ Tests/ Core/ UrlTest.php, line 832
Class
Namespace
Drupal\Tests\CoreCode
public function setAccessManager(AccessManagerInterface $access_manager) : void {
$this->accessManager = $access_manager;
}
Buggy or inaccurate documentation? Please file an issue. Need support? Need help programming? Connect with the Drupal community.