Problem

DomainMaintenanceMode injects DomainNegotiatorInterface but only uses getActiveId(). The full negotiator is a heavier service that increases circular dependency risk.

Fix

Replace DomainNegotiatorInterface with DomainNegotiationContext — a lightweight value object that provides getDomain() and getDomainId().

Command icon Show commands

Start within a Git clone of the project using the version control instructions.

Or, if you do not have SSH keys set up on git.drupalcode.org:

Comments

mably created an issue. See original summary.

  • mably committed 5537b93a on 3.x
    task: #3584259 Replace DomainNegotiatorInterface with...
mably’s picture

Status: Active » Fixed

Now that this issue is closed, review the contribution record.

As a contributor, attribute any organization that helped you, or if you volunteered your own time.

Maintainers, credit people who helped resolve this issue.

Status: Fixed » Closed (fixed)

Automatically closed - issue fixed for 2 weeks with no activity.