Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Modern fragment foundation (see #4393)
Description ----------- - Commits ------- 046cb0f prefer legacy element when using fragment with same name bb86d9d always set the template in the RegisterFragmentsPass d481dcd create a new FragmentTemplate 1b44558 allow creating enhanced contexts from plain arrays b3d33e9 rework rendering fragments in the AbstractFragmentController 6a1504a rework default template context for modern fragments 7ceab8a deprecate the old template class, so that its usage in the old getRes… d5aa393 rework back end wildcard 52284e8 adjust and add tests bea6eef fix quoting in the TemplateLoader 31f1084 fix a discouraged usage in the TwoFactorController 3e3cb31 rename headline attributes d9498d0 fix testReturnsWildCardInBackendScope test 6187b54 add clarifying comment 1fe0bf9 enable deprecation warning 9ad7872 rename 'back end' to 'backend' 23fecb1 expect self deprecations 6ed574a Revert "expect self deprecations" 8e74730 remove triggering deprecation for legacy fragment templates for now d0d73f1 enforce type hints b498e2d Revert "enforce type hints" f5bf545 apply changes from #4536 + adjust tests 03ff8ad Merge remote-tracking branch 'origin/5.x' into modern-fragment-founda… facfa23 drop removed methods a3d3aed Update core-bundle/tests/Twig/FragmentTemplateTest.php 8815efd Adjust the deprecation message Co-authored-by: Leo Feyer <github@contao.org>
- Loading branch information
Showing
22 changed files
with
1,413 additions
and
319 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Oops, something went wrong.