You are here

service purl.url_generator in Persistent URL 8

Class

Drupal\purl\Routing\UrlGenerator
2 string references to purl.url_generator
PurlServiceProvider::alter in src/PurlServiceProvider.php
Modifies existing service definitions.
Url::urlGenerator in src/Url.php
Gets the URL generator.

File

./purl.services.yml
purl.services.yml

View source
  1. class: Drupal\purl\Routing\UrlGenerator
  2. arguments:
  3. - '@url_generator.non_bubbling'
  4. calls:
  5. - [setContext, ['@?router.request_context']]