New answers tagged

3

Right beneath the pattern input you have a link that opens a popup to let you choose tokens to be put in the pattern. For field values it normally goes along the line of [node:field_foobar:value]. Depending on the field value you may also consider to either provide your own custom token or to alter the current token with an alter hook to replace the value ...


4

As discussed here, Hide path on frontpage redirect, you need to make caching of route collections domain-specific. Other than the discussed overriding of the core service, since Drupal 8.8 you can use the service method addExtraCacheKeyPart(). Add this code in a request event subscriber: /src/EventSubscriber/RouteCacheDomainSubscriber.php <?php namespace ...


Top 50 recent answers are included