Skip to content

Fix issue in the way active themes are retrieved form mode manager theme switcher

Switch from state to using config factory to match how Drupal Core's Drupal\Core\Extension\ThemeExtensionList::doList() which retrieves installed themes:

$this->installedThemes = $this->configFactory->get('core.extension')->get('theme') ?: [];

Closes #3164478

Merge request reports