Defines an interface for generating a url from a route or system path.
Provides additional methods and options not present in the base interface.
Name | Modifiers | Type | Description |
---|---|---|---|
UrlGeneratorInterface::generateFromRoute | public | function | Generates a URL or path for a specific route based on the given parameters. |
UrlGeneratorInterface::getPathFromRoute | public | function | Gets the internal path (system path) for a route. |
VersatileGeneratorInterface::getRouteDebugMessage | public | function | Convert a route identifier (name, content object etc) into a string usable for logging and other debug/error messages |
VersatileGeneratorInterface::supports | public | function | Whether this generator supports the supplied $name. |
© 2001–2016 by the original authors
Licensed under the GNU General Public License, version 2 and later.
Drupal is a registered trademark of Dries Buytaert.
https://api.drupal.org/api/drupal/core!lib!Drupal!Core!Routing!UrlGeneratorInterface.php/interface/UrlGeneratorInterface/8.1.x