Problem/Motivation

Preview isolation logic is duplicated across PreviewIsolationNegotiator, PreviewIsolationDisplayVariantSubscriber, and PreviewIsolationHooks. Each class repeats the same checks without caching.

Proposed resolution

Create a centralized PreviewIsolationRequestChecker service that consolidates all preview isolation request checking logic.

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

lauriii created an issue. See original summary.

  • lauriii committed 8bfc2899 on 1.0.x
    refactor: #3569598 Refactor preview isolation logic into centralized...
lauriii’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.