Twig, Drupal fields, Date Formating, select list and more. Rendering in templates, creating variables.

Published Jan 30, 2022
Updated Jun 7, 2022
By Simon

https://drupal.stackexchange.com/questions/254491/how-to-check-a-boolea…

{% set isLanguagePoint = content.field_para_language_point.value %}
{% if content.field_para_language_point.value == 1 %}!◆{% endif %} {# doesn't work #}
{% if content.field_para_language_point['#items'].value %}◆{% endif %} {{ content.field_title.0 }}
<br>
<br>
{{ content.field_para_content }}