The SuluThemeBundle registers possible image-format files for all themes in the system. For doing this, there is an ImageFormatCompilerPass, which is almost the same as the ImageFormatCompilerPass in the MediaBundle. Including the image-format files with prependExtensionConfig is not possible, because the ThemeBundle needs to call various services to construct the paths the the config files defining the image formats.
The SuluThemeBundle registers possible image-format files for all themes in the system. For doing this, there is an ImageFormatCompilerPass, which is almost the same as the ImageFormatCompilerPass in the MediaBundle. Including the image-format files with
prependExtensionConfig
is not possible, because the ThemeBundle needs to call various services to construct the paths the the config files defining the image formats.