Repository navigation
Release v1.6.2
v1.6.2
Changelog
ContactForm: 1.x admin layout bridge wired (Twig autowired by type) See UPGRADING.
Fixed
- 1.x admin layout bridge never used:
ContactFormPagesreceivednullinstead of the Twig environment because
#[Autowire('@?twig')]is not an optional reference (the attribute keeps?in the service id,"?twig", and the
nullable argument turned the missing service intonull). A configured 1.xweb_ui.layout_templatewas therefore
extended directly instead of through the deprecatedadmin/_legacy_layout.html.twigbridge. The argument is now
autowired by type; a kernel test (BundleWiringTest::testLegacyAdminLayoutIsWrappedInTheBridge) covers the wiring.
What's Changed
- fix(ui): autowire Twig by type so the 1.x admin layout bridge is used by @HecFranco in #50
Full Changelog: v1.6.1...v1.6.2