From 758a58c72bdc38d2b461c5babb8428278ef76284 Mon Sep 17 00:00:00 2001 From: Max Kuzmych Date: Thu, 4 May 2023 15:38:02 +0300 Subject: [PATCH 1/2] twig v3: Use apply spaceless --- .../templates/logger-entity-content-add-list.html.twig | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/logger_entity/templates/logger-entity-content-add-list.html.twig b/logger_entity/templates/logger-entity-content-add-list.html.twig index 214dfa1c..b59bca0e 100644 --- a/logger_entity/templates/logger-entity-content-add-list.html.twig +++ b/logger_entity/templates/logger-entity-content-add-list.html.twig @@ -14,10 +14,10 @@ * @ingroup themeable */ #} -{% spaceless %} +{% apply spaceless %}
{% for type in types %}
{{ type.link }}
{% endfor %}
-{% endspaceless %} +{% endapply %} From 0d26c79d76b341339fd29a83c73be083b49dbfbb Mon Sep 17 00:00:00 2001 From: Andrii Podanenko Date: Fri, 5 May 2023 11:37:33 +0300 Subject: [PATCH 2/2] feat: add twig v3 --- composer.json | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/composer.json b/composer.json index 8f2478aa..43dc4bbc 100644 --- a/composer.json +++ b/composer.json @@ -3,7 +3,8 @@ "description": "Custom core modules for Open Y distrubution.", "type": "drupal-module", "require": { - "ymcatwincities/openy": "*" + "ymcatwincities/openy": "*", + "twig/twig": "^2.7 || ^3.0" }, "license": "GPL-2.0+", "minimum-stability": "dev"