dsfr4drupal-1.x-dev/templates/block/block.html.twig

templates/block/block.html.twig
{% set title_tag = title_tag|default('h2') %}

{% if attributes is not empty %}
  <div{{ attributes }}>
{% endif %}

{{ title_prefix }}
{% if label %}
  <{{ title_tag }}{{ title_attributes }}>{{ label }}</{{ title_tag }}>
{% endif %}
{{ title_suffix }}
{% block content %}
  {{ content }}
{% endblock %}

{% if attributes is not empty %}
  </div>
{% endif %}

Главная | Обратная связь

drupal hosting | друпал хостинг | it patrol .inc