Skip to content

Commit eeb6413

Browse files
committed
Revert "Support the new service ID in Contao 4.13"
This reverts commit 396ad48.
1 parent 8b48960 commit eeb6413

File tree

2 files changed

+4
-10
lines changed

2 files changed

+4
-10
lines changed

composer.json

+1-1
Original file line numberDiff line numberDiff line change
@@ -15,7 +15,7 @@
1515
},
1616
"require": {
1717
"php": ">=7.4",
18-
"contao/core-bundle": "^4.12.2",
18+
"contao/core-bundle": "^4.12.2,<4.13.0",
1919
"symfony/config": "^4.4 || ^5.0",
2020
"webmozart/path-util": "^2.3",
2121
"symfony/webpack-encore-bundle": "^1.11"

config/services.yml

+3-9
Original file line numberDiff line numberDiff line change
@@ -48,20 +48,14 @@ services:
4848
- '%kernel.project_dir%'
4949

5050
Richardhj\ContaoThemeFramework\Twig\EncoreEntryFilesTwigExtension:
51-
tags: [ 'twig.extension' ]
51+
tags: ['twig.extension']
5252
arguments:
5353
- '@Richardhj\ContaoThemeFramework\Encore\EncoreEntrypointLookupCollection'
5454
- '@contao.themes.tag_renderer'
5555

5656
Richardhj\ContaoThemeFramework\Twig\Loader\ThemeNamespace:
57-
decorates: 'contao.twig.loader.theme_namespace'
58-
arguments: [ '@Richardhj\ContaoThemeFramework\Twig\Loader\ThemeNamespace.inner' ]
59-
60-
# Only needed for Contao 4.12 compatibility
61-
richardhj.contao_theme_frameowrk.twig_namespace_loader_legacy:
62-
class: Richardhj\ContaoThemeFramework\Twig\Loader\ThemeNamespace
63-
decorates: 'Contao\CoreBundle\Twig\Loader\ThemeNamespace'
64-
arguments: [ '@Richardhj\ContaoThemeFramework\Twig\Loader\ThemeNamespace.inner' ]
57+
decorates: 'Contao\CoreBundle\Twig\Loader\ThemeNamespace'
58+
arguments: ['@Richardhj\ContaoThemeFramework\Twig\Loader\ThemeNamespace.inner']
6559

6660
Richardhj\ContaoThemeFramework\Encore\EncoreEntrypointLookupCollection:
6761
arguments:

0 commit comments

Comments
 (0)