Tag

PHP Developer

1 post tagged PHP Developer.

  • Extending a parent Twig block with parent()

    11/30/2015

    Extending a parent Twig block with parent()

    Define a block in a child template and it replaces the parent's version completely - which is rarely what you wanted for a block holding stylesheets or scripts. parent() puts the inherited content back.

Often tagged together with