Issue #3490397: Inject the file_system service in the theme registry service.
Compare changes
@@ -9,6 +9,7 @@
@@ -9,6 +9,7 @@
@@ -205,10 +206,12 @@ class Registry implements DestructableInterface {
@@ -205,10 +206,12 @@ class Registry implements DestructableInterface {
public function __construct($root, CacheBackendInterface $cache, LockBackendInterface $lock, ModuleHandlerInterface $module_handler, ThemeHandlerInterface $theme_handler, ThemeInitializationInterface $theme_initialization, CacheBackendInterface $runtime_cache, ModuleExtensionList $module_list, protected HttpKernelInterface $kernel, $theme_name = NULL, array $preprocess_for_suggestions = []) {
public function __construct($root, CacheBackendInterface $cache, LockBackendInterface $lock, ModuleHandlerInterface $module_handler, ThemeHandlerInterface $theme_handler, ThemeInitializationInterface $theme_initialization, CacheBackendInterface $runtime_cache, ModuleExtensionList $module_list, protected HttpKernelInterface $kernel, $theme_name = NULL, protected ?FileSystemInterface $fileSystem = NULL, array $preprocess_for_suggestions = []) {
@@ -219,6 +222,10 @@ public function __construct($root, CacheBackendInterface $cache, LockBackendInte
@@ -219,6 +222,10 @@ public function __construct($root, CacheBackendInterface $cache, LockBackendInte