Defines an interface for generating a url from a route or system path.
Provides additional methods and options not present in the base interface.
Hierarchy
- interface \Symfony\Cmf\Component\Routing\VersatileGeneratorInterface extends \Symfony\Cmf\Component\Routing\UrlGeneratorInterface
- interface \Drupal\Core\Routing\UrlGeneratorInterface
File
- core/lib/Drupal/Core/Routing/UrlGeneratorInterface.php, line 12
Namespace
Drupal\Core\Routing
Members
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. |
Please login to continue.