public function ShortcutInterface::getUrl in Drupal 9
Same name and namespace in other branches
- 8 core/modules/shortcut/src/ShortcutInterface.php \Drupal\shortcut\ShortcutInterface::getUrl()
Returns the URL object pointing to the configured route.
Return value
\Drupal\Core\Url The URL object.
1 method overrides ShortcutInterface::getUrl()
- Shortcut::getUrl in core/
modules/ shortcut/ src/ Entity/ Shortcut.php - Returns the URL object pointing to the configured route.
File
- core/
modules/ shortcut/ src/ ShortcutInterface.php, line 56
Class
- ShortcutInterface
- Provides an interface defining a shortcut entity.
Namespace
Drupal\shortcutCode
public function getUrl();