Skip to content

Commit

Permalink
Add rybakit/twig-deferred-extension to composer.json (#576)
Browse files Browse the repository at this point in the history
* Add rybakit/twig-deferred-extension to composer.json

* Add Service
  • Loading branch information
blankse authored and brusch committed Jul 15, 2024
1 parent 35cbb69 commit 52475d7
Show file tree
Hide file tree
Showing 2 changed files with 7 additions and 1 deletion.
1 change: 1 addition & 0 deletions composer.json
Original file line number Diff line number Diff line change
Expand Up @@ -28,6 +28,7 @@
"pimcore/ecommerce-framework-bundle": "*",
"pimcore/web-to-print-bundle": "*",
"pimcore/newsletter-bundle": "*",
"rybakit/twig-deferred-extension": "^3.0",
"symfony/runtime": "^6.2",
"symfony/intl": "^6.2",
"symfony/dotenv": "^6.2",
Expand Down
7 changes: 6 additions & 1 deletion config/services.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -222,4 +222,9 @@ services:
lazy: true
arguments:
- !service { class: PDO, factory: [ '@database_connection', 'getNativeConnection' ] }
- { lock_mode: 0 }
- { lock_mode: 0 }

# the deferred extension is needed for placeholder helpers to work
# as otherwise the placeholder block would be rendered before any
# content was added (e.g. headTitle)
Twig\DeferredExtension\DeferredExtension: ~

0 comments on commit 52475d7

Please sign in to comment.