library multitaxonomy-doctrine-dbal-util-pagerfanta-twig-templates
Multitaxonomy for DBAL-Util persistence (Twig templates for pagerfanta objects)
php-taxonomy/multitaxonomy-doctrine-dbal-util-pagerfanta-twig-templates
Multitaxonomy for DBAL-Util persistence (Twig templates for pagerfanta objects)
- Thursday, March 15, 2018
- by Nardberjean
- Repository
- 1 Watchers
- 0 Stars
- 116 Installations
- HTML
- 0 Dependents
- 0 Suggesters
- 0 Forks
- 0 Open issues
- 1 Versions
- 0 % Grown
Multitaxonomy for DBAL-Util persistence (Twig templates for pagerfanta objects), (*1)
Obsolete!
DBAL-util is not used directly in templates!, (*2)
These templates are used like a library.
$c->loadFromExtension('twig', [
'paths' => [
'%kernel.project_dir%/vendor/php-taxonomy/multitaxonomy-dbal-util-pagerfanta-twig-templates' => 'MultiTaxonomyDbalUtilBundle',
// templates is the new directory name in Symfony 4
// '%kernel.project_dir%/vendor/php-taxonomy/multitaxonomy-dbal-util-bundle/Resources/views' => 'MultiTaxonomyDbalUtilBundle',
],
]);
- https://symfony.com/doc/current/templating/namespaced_paths.html
- https://symfony.com/doc/3.3/templating/namespaced_paths.html
- https://symfony.com/blog/new-in-symfony-3-3-a-simpler-way-to-get-the-project-root-directory
- http://fabien.potencier.org/symfony4-directory-structure.html
Check syntax (with symfony ~framework-bundle)
$ bin/console lint:twig vendor/php-taxonomy/multitaxonomy-dbal-util-pagerfanta-twig-templates/
- https://symfony.com/doc/current/templating/syntax.html