public TwigExtension::getPath($name, $parameters = array(), $options = array())
Generates a URL path given a route name and parameters.
Parameters
$name: The name of the route.
array $parameters: An associative array of route parameters names and values.
array $options: (optional) An associative array of additional options. The 'absolute' option is forced to be FALSE.
Return value
string The generated URL path (relative URL) for the given route.
See also
\Drupal\Core\Routing\UrlGeneratorInte