add text, array, pcre and date functionality

This commit is contained in:
Daniel Seifert 2024-06-07 13:25:29 +02:00
parent d1b63112b1
commit ea9002dff1
2 changed files with 16 additions and 2 deletions

View File

@ -26,7 +26,8 @@
], ],
"require": { "require": {
"oxid-esales/oxideshop-ce": "^7.0.0", "oxid-esales/oxideshop-ce": "^7.0.0",
"twig/twig": "^3.6" "twig/twig": "^3.6",
"jasny/twig-extensions": "^1.3.0"
}, },
"autoload": { "autoload": {
"psr-4": { "psr-4": {

View File

@ -9,4 +9,17 @@ services:
tags: ['twig.extension'] tags: ['twig.extension']
D3\OxidTwigExtensions\ShopConfigurationExtension: D3\OxidTwigExtensions\ShopConfigurationExtension:
tags: ['twig.extension'] tags: ['twig.extension']
# requires intl extension
# Jasny\Twig\DateExtension:
# tags: ['twig.extension']
Jasny\Twig\PcreExtension:
tags: ['twig.extension']
Jasny\Twig\TextExtension:
tags: [ 'twig.extension' ]
Jasny\Twig\ArrayExtension:
tags: [ 'twig.extension' ]