项目作者: mario-naether

项目描述 :
Twig integration in extbase
高级语言: PHP
项目地址: git://github.com/mario-naether/t3twig.git
创建时间: 2017-03-05T20:43:29Z
项目社区:https://github.com/mario-naether/t3twig

开源协议:MIT License

下载


t3twig

Twig integration in extbase

Usage:
Added TwigView to controller

  1. class MyController extends \TYPO3\CMS\Extbase\Mvc\Controller\ActionController
  2. {
  3. protected $defaultViewObjectName = \T3TWIG\View\TwigView::class;
  4. }

Add Twig Template in Template Folder
````
typo3conf/ext/MyExt/Resources/Private/Templates/MyController/Index.html.twig