simplytest-8.x-4.x-dev/themes/simplytest_theme/templates/layout/region.html.twig

themes/simplytest_theme/templates/layout/region.html.twig
{#
/**
 * @file
 * Theme override to display a region.
 *
 * Available variables:
 * - content: The content for this region, typically blocks.
 * - attributes: HTML attributes for the region div.
 * - region: The name of the region variable as defined in the theme's
 *   .info.yml file.
 *
 * @see template_preprocess_region()
 */
#}
{% if content %}
  {% set attributes = attributes.addClass('region__'~region|clean_id) %}
  <div{{ attributes }}>
    {% block content %}
      {{ content }}
    {% endblock %}
  </div>
{% endif %}

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

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