configFactory = $config_factory; $this->themeHandler = $theme_handler; } /** * {@inheritdoc} */ public function applies(RouteMatchInterface $route_match) { return $route_match->getRouteName() == 'system.db_update'; } /** * {@inheritdoc} */ public function determineActiveTheme(RouteMatchInterface $route_match) { // The update page always uses Claro to ensure stability. return 'claro'; } }