0

With the classic Drupal approach, the Domain Access module recognises the requested domain via the HTTP request or the $_SERVER['HTTP_HOST'] variable, thanks to the DomainNegotiator::negotiateActiveHostname method. Everything's managed automatically, only the content related to the given domain can be displayed 🎉

However with the decoupled Drupal approach, the front-end is separated. How can we make Domain Access understand that I'm requesting a given domain?

I mention that only one domain is taken into account in the schema configuration page of the Drupal GraphQL module:

enter image description here

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service, privacy policy and cookie policy

Browse other questions tagged or ask your own question.