-
### 1. Why is this change necessary?
There are plugins out there, that make use of the Twig function `block` to include another's template block. This is nice to reuse code but does not check the i…
-
I don't always use HTML and my underlying template language with Twig. PhpStorm supports `.js.twig` and other extensions.
I tried changing the config option,
``` php
'extension' => 'twig',
```
to
…
-
You can configure the templates as follows:
```yaml
# config/packages/twig_component.yaml
twig_component:
anonymous_template_directory: 'components/'
defaults:
# Namespace & di…
-
We are currently using a forked version (technically a fork of a fork) of [twig-loader](
https://github.com/emulsify-ds/emulsify-core/blob/main/package.json#L114), which is for enabling Webpack to loa…
-
With the new Twig templating, errorMessage handling has never been standardized and made global. Each controller and view have chosen to do it differently.
We need to have a single known place to …
-
https://www.drupal.org/node/3096454
The deprecated twig_without() procedural function in core/themes/engines/twig/twig.engine has been removed.
-
Using craftagram 4.0.0 with the basic example provided in the documentation:
```
{% set craftagram = craft.craftagram.getInstagramFeed() %}
{% if craftagram|length %}
{% for item in crafta…
-
It would be nice to be able pass some additional content to default twig template. I would like to pass details about environment, app version etc. but only being displayed if details are allowed.
-
Any way to getting the naming such as `view.html.twig` working?
The standard `view('index')` with `index.twig` works, but the intermediary extension carries value when you're using Twig to build th…
-
*PHP Version:* 8.3 | *Shopware Version:* 6.6.7.1 | *Affected area / extension:* Platform(Default)
----
*_Expected behaviour:_*
The line-item label should not end up in the xkey HTTP-header.
…