The hook_domain_request_alter is being called very early when the \Drupal::request() doesn't exist.

Created on 20 September 2022, over 2 years ago
Updated 24 February 2023, almost 2 years ago

If we use Activate Account administration pages in the Interface text language detection. The hook_domain_request_alter is being called very early when the \Drupal::request() doesn't exist. We need to get the request path from another source in order to detect the domain correctly.

This task is related to the issue 🐛 hook_domain_request_alter is not called when setRequestDomain is being called too early Active described for the domain module.

🐛 Bug report
Status

Fixed

Version

1.0

Component

Code

Created by

🇷🇺Russia nortmas Crimea/Thailand

Live updates comments and jobs are added and updated live.
Sign in to follow issues

Comments & Activities

Not all content is available!

It's likely this issue predates Contrib.social: some issue and comment data are missing.

Production build 0.71.5 2024