Magento 2
The built-in template engines
Development
phtml
,
template
dmitrii_fediuk
(Dmitrii Fediuk)
May 6, 2017, 11:43am
1
phtml
xhtml
How to use a custom server-side template engine (e.g., Markdown) instead of the built-in *.phtml engine?
How are the «*.phtml» templates rendered?
How is Magento\Framework\View\TemplateEnginePool implemented and used?
The block instance is passed to the «*.phtml» templates as $block variable, not $this
dmitrii_fediuk
(Dmitrii Fediuk)
May 6, 2017, 11:45am
2
See also:
How is
Magento\Framework\View\TemplateEnginePool
implemented and used?
How are the «
*.phtml
» templates rendered?