You are here

public function UrlGenerator::generate in Persistent URL 8

Parameters

string $name:

array $parameters:

bool|string $referenceType:

Return value

string

File

src/Routing/UrlGenerator.php, line 81

Class

UrlGenerator

Namespace

Drupal\purl\Routing

Code

public function generate($name, $parameters = array(), $referenceType = self::ABSOLUTE_PATH) {
  return $this->urlGenerator
    ->generate($name, $parameters, $referenceType);
}