Skip to content

[Twig] Namespaced template paths #9085

@trsteel88

Description

@trsteel88

This issue relates to http://symfony.com/doc/current/cookbook/templating/namespaced_paths.html

If you choose to render your templates using namespaced paths

{% extends "@AcmeDemo/layout.html.twig" %}

It means that if you create a new bundle that AcmeDemo is the parent of, it does not prepend the child bundle paths.

Eg, say I create AppDemoBundle which has a parent of AcmeDemoBundle it should check for the templates in @AppDemoBundle/layout.html.twig before it checks for @AcmeDemo/layout.html.twig

Metadata

Metadata

Assignees

No one assigned

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions

      pFad - Phonifier reborn

      Pfad - The Proxy pFad of © 2024 Garber Painting. All rights reserved.

      Note: This service is not intended for secure transactions such as banking, social media, email, or purchasing. Use at your own risk. We assume no liability whatsoever for broken pages.


      Alternative Proxies:

      Alternative Proxy

      pFad Proxy

      pFad v3 Proxy

      pFad v4 Proxy