diff --git a/src/DependencyInjection/WebfactoryWfdMetaExtension.php b/src/DependencyInjection/WebfactoryWfdMetaExtension.php index af3f4b8..7629b76 100644 --- a/src/DependencyInjection/WebfactoryWfdMetaExtension.php +++ b/src/DependencyInjection/WebfactoryWfdMetaExtension.php @@ -35,8 +35,6 @@ public function load(array $configs, ContainerBuilder $container): void if ($config['always_expire_wfd_meta_resources']) { $yamlLoader->load('cache_busting.yml'); - } else { - $xmlLoader->load('config_cache_factory.xml'); } } } diff --git a/src/Resources/config/config_cache_factory.xml b/src/Resources/config/config_cache_factory.xml deleted file mode 100644 index 1071292..0000000 --- a/src/Resources/config/config_cache_factory.xml +++ /dev/null @@ -1,32 +0,0 @@ - - - - - - - - - - - - - - - - - - - - - - - - - - The "%alias_id%" alias is deprecated - - - - diff --git a/src/Resources/config/legacy_aliases.yml b/src/Resources/config/legacy_aliases.yml index 9083cdf..df394ec 100644 --- a/src/Resources/config/legacy_aliases.yml +++ b/src/Resources/config/legacy_aliases.yml @@ -38,3 +38,9 @@ services: deprecated: package: 'webfactory/wfdmeta-bundle' version: '3.9.0' + + webfactory_wfd_meta.config_cache_factory: + alias: 'Webfactory\Bundle\WfdMetaBundle\Config\WfdMetaConfigCacheFactory' + deprecated: + package: 'webfactory/wfdmeta-bundle' + version: '3.9.0' diff --git a/src/Resources/config/services.xml b/src/Resources/config/services.xml index 794a431..3bf4e95 100644 --- a/src/Resources/config/services.xml +++ b/src/Resources/config/services.xml @@ -37,5 +37,20 @@ + + + + + + + + + + + + + + +