The URL generator.
Type: \Drupal\Core\Routing\UrlGeneratorInterface
File
- core/lib/Drupal/Core/Template/TwigExtension.php, line 33
Class
- TwigExtension
- A class providing Drupal Twig extensions.
Namespace
Drupal\Core\Template
Code
protected $urlGenerator;
Please login to continue.