class TestUrl in Zircon Profile 8
Same name and namespace in other branches
- 8.0 core/tests/Drupal/Tests/Core/UrlTest.php \Drupal\Tests\Core\TestUrl
Hierarchy
- class \Drupal\Core\Url uses DependencySerializationTrait
- class \Drupal\Tests\Core\TestUrl
Expanded class hierarchy of TestUrl
File
- core/
tests/ Drupal/ Tests/ Core/ UrlTest.php, line 817 - Contains \Drupal\Tests\Core\UrlTest.
Namespace
Drupal\Tests\CoreView source
class TestUrl extends Url {
/**
* Sets the access manager.
*
* @param \Drupal\Core\Access\AccessManagerInterface $access_manager
*/
public function setAccessManager(AccessManagerInterface $access_manager) {
$this->accessManager = $access_manager;
}
}
Members
Name | Modifiers | Type | Description | Overrides |
---|---|---|---|---|
DependencySerializationTrait:: |
protected | property | An array of service IDs keyed by property name used for serialization. | |
DependencySerializationTrait:: |
public | function | 1 | |
DependencySerializationTrait:: |
public | function | 2 | |
TestUrl:: |
public | function | Sets the access manager. | |
Url:: |
protected | property | The access manager | |
Url:: |
protected | property | Indicates whether this object contains an external URL. | |
Url:: |
protected | property | Stores the internal path, if already requested by getInternalPath(). | |
Url:: |
protected | property | The URL options. | |
Url:: |
protected | property | The route name. | |
Url:: |
protected | property | The route parameters. | |
Url:: |
protected | property | Indicates whether this URL is for a URI without a Drupal route. | |
Url:: |
protected | property | The non-route URI. | |
Url:: |
protected | property | The unrouted URL assembler. | |
Url:: |
protected | property | The URL generator. | |
Url:: |
public | function | Checks this Url object against applicable access check services. | |
Url:: |
protected | function | ||
Url:: |
public static | function | Returns the Url object matching a request. | |
Url:: |
protected static | function | Create a new Url object for entity URIs. | |
Url:: |
protected static | function | Creates a new Url object for 'internal:' URIs. | |
Url:: |
public static | function | Creates a new Url object for a URL that has a Drupal route. | |
Url:: |
public static | function | Creates a new URL object from a route match. | |
Url:: |
protected static | function | Creates a new Url object for 'route:' URIs. | |
Url:: |
public static | function | Creates a new Url object from a URI. | |
Url:: |
public static | function | Creates a Url object for a relative URI reference submitted by user input. | |
Url:: |
public | function | Returns the internal path (system path) for this route. | |
Url:: |
public | function | Gets a specific option. | |
Url:: |
public | function | Returns the URL options. | |
Url:: |
public | function | Returns the route name. | |
Url:: |
public | function | Returns the route parameters. | |
Url:: |
public | function | Returns the URI value for this Url object. | |
Url:: |
public | function | Indicates if this Url is external. | |
Url:: |
public | function | Indicates if this Url has a Drupal route. | |
Url:: |
public static | function | Checks a Url render element against applicable access check services. | |
Url:: |
public | function | Sets the value of the absolute option for this Url. | |
Url:: |
public | function | Sets a specific option. | |
Url:: |
public | function | Sets the URL options. | |
Url:: |
public | function | Sets a specific route parameter. | |
Url:: |
public | function | Sets the route parameters. | |
Url:: |
protected | function | Sets this Url to encapsulate an unrouted URI. | |
Url:: |
public | function | Sets the unrouted URL assembler. | |
Url:: |
public | function | Sets the URL generator. | |
Url:: |
public | function | Returns the route information for a render array. | |
Url:: |
public | function | Generates the string URL representation for this Url object. | |
Url:: |
public | function | Generates a URI string that represents tha data in the Url object. | |
Url:: |
protected | function | Gets the unrouted URL assembler for non-Drupal URLs. | |
Url:: |
protected | function | Gets the URL generator. | |
Url:: |
public | function | Constructs a new Url object. |