Problem/Motivation

When the module is used alongside a module like domain_theme_switch, the styleguide page no longer functions.

This is because styleguide uses a relatively low priority for its theme negotiator.

Steps to reproduce

Attempt to use styleguide alongside domain_theme_switch.

Proposed resolution

Use a relatively high priority, e.g. 1000 just like the block preview does so that it's evaluated before any normal negotiators.

Remaining tasks

Provide MR.

User interface changes

N/A

Issue fork styleguide-3542287

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

codebymikey created an issue. See original summary.

codebymikey’s picture

Issue summary: View changes
Status: Active » Needs review

dcam made their first commit to this issue’s fork.

  • codebymikey committed b883df9a on 2.x
    Issue #3542287 by codebymikey: Increase the priority of the styleguide...
dcam’s picture

Status: Needs review » Fixed

This seems reasonable. Thank you for the contribution!

Status: Fixed » Closed (fixed)

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