public ThemeHandler::__construct($root, ConfigFactoryInterface $config_factory, ModuleHandlerInterface $module_handler, StateInterface $state, InfoParserInterface $info_parser, ExtensionDiscovery $extension_discovery = NULL)
Constructs a new ThemeHandler.
Parameters
string $root: The app root.
\Drupal\Core\Config\ConfigFactoryInterface $config_factory: The config factory to get the installed themes.
\Drupal\Core\Extension\ModuleHandlerInterface $module_handler: The module handler to fire theme