PHP Classes

File: vendor/symfony/symfony/src/Symfony/Bundle/TwigBundle/Tests/DependencyInjection/Fixtures/php/legacy-merge-form-resources-with-form-themes.php

Recommend this page to a friend!
  Classes of Murat Cileli   Papernic   vendor/symfony/symfony/src/Symfony/Bundle/TwigBundle/Tests/DependencyInjection/Fixtures/php/legacy-merge-form-resources-with-form-themes.php   Download  
File: vendor/symfony/symfony/src/Symfony/Bundle/TwigBundle/Tests/DependencyInjection/Fixtures/php/legacy-merge-form-resources-with-form-themes.php
Role: Example script
Content type: text/plain
Description: Example script
Class: Papernic
Manage documents colaboratively
Author: By
Last change:
Date: 7 years ago
Size: 291 bytes
 

Contents

Class file image Download
<?php

$container
->loadFromExtension('twig', array(
   
'form' => array(
       
'resources' => array(
           
'form_table_layout.html.twig',
           
'MyBundle:Form:my_theme.html.twig',
        ),
    ),
   
'form_themes' => array(
       
'FooBundle:Form:bar.html.twig',
    ),
));