class TestUrl

Same name and namespace in other branches
  1. 11.x core/tests/Drupal/Tests/Core/UrlTest.php \Drupal\Tests\Core\TestUrl
  2. 10 core/tests/Drupal/Tests/Core/UrlTest.php \Drupal\Tests\Core\TestUrl
  3. 8.9.x core/tests/Drupal/Tests/Core/UrlTest.php \Drupal\Tests\Core\TestUrl

Hierarchy

Expanded class hierarchy of TestUrl

File

core/tests/Drupal/Tests/Core/UrlTest.php, line 864

Namespace

Drupal\Tests\Core
View source
class TestUrl extends Url {
  
  /**
   * Sets the access manager.
   *
   * @param \Drupal\Core\Access\AccessManagerInterface $access_manager
   *   The access manager.
   */
  public function setAccessManager(AccessManagerInterface $access_manager) {
    $this->accessManager = $access_manager;
  }

}

Buggy or inaccurate documentation? Please file an issue. Need support? Need help programming? Connect with the Drupal community.