You are here

public function UrlGenerator::getPathFromRoute in Persistent URL 8

Parameters

string|\Symfony\Component\Routing\Route $name:

array $parameters:

Return value

string

Overrides UrlGeneratorInterface::getPathFromRoute

File

src/Routing/UrlGenerator.php, line 91

Class

UrlGenerator

Namespace

Drupal\purl\Routing

Code

public function getPathFromRoute($name, $parameters = array()) {
  return $this->urlGenerator
    ->getPathFromRoute($name, $parameters);
}