From 5583b019e5bb1b0e4377a003b0525f3be4b12b3b Mon Sep 17 00:00:00 2001 From: tuutti Date: Fri, 27 Aug 2021 13:29:03 +0300 Subject: [PATCH] Fixed path processor priorities to make front page work --- helfi_proxy.services.yml | 6 ++++-- 1 file changed, 4 insertions(+), 2 deletions(-) diff --git a/helfi_proxy.services.yml b/helfi_proxy.services.yml index eac7295..390c611 100644 --- a/helfi_proxy.services.yml +++ b/helfi_proxy.services.yml @@ -14,8 +14,10 @@ services: class: Drupal\helfi_proxy\PathProcessor\SitePrefixPathProcessor arguments: ['@config.factory'] tags: - - { name: path_processor_inbound, priority: 200 } - - { name: path_processor_outbound, priority: -600 } + # Must be run before PathProcessorFront (200 weight). + - { name: path_processor_inbound, priority: 201 } + # Must to be run after LanguageProcessorLanguage (100 weight). + - { name: path_processor_outbound, priority: 99 } cache_context.site_prefix: class: Drupal\helfi_proxy\Cache\Context\SitePrefixCacheContext