You are here

public function AuthcacheP13nRequestUrlGeneratorInterface::url in Authenticated User Page Caching (Authcache) 7.2

Generate an url for the given request and parameter.

@returns array An associative array consisting of the following key-value pairs:

  • path: A relative or absolute URL without query or fragment suitable for supplying to the $path parameter of the drupal url() function.
  • options: An associative array containing the options as accepted by the $options parameter of the drupal url() function.

See also

url()

2 methods override AuthcacheP13nRequestUrlGeneratorInterface::url()
AuthcacheP13nDefaultRequestUrlGenerator::url in modules/authcache_p13n/includes/AuthcacheP13nDefaultRequestUrlGenerator.inc
Generate an url for the given request and parameter.
AuthcacheP13nTestRequestUrlGeneratorStub::url in modules/authcache_p13n/tests/authcache_p13n.stub.inc
Generate an url for the given request and parameter.

File

modules/authcache_p13n/includes/AuthcacheP13nRequestUrlGeneratorInterface.inc, line 24
Defines request filter.

Class

AuthcacheP13nRequestUrlGeneratorInterface
Interface for request url generators.

Code

public function url($route_id, $arg);