yeti_theme-8.x-1.x-dev/templates/region/region--messages.html.twig

templates/region/region--messages.html.twig
{#
/**
 * @file
 * Yeti theme override to display Messages 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()
 */
#}
{{ attach_library('yeti/regions.messages') }}

{%
  set classes = [
    'page',
    'region-' ~ region|clean_class,
    'small-12',
    'cell',
  ]
%}

{% if content %}
  <aside{{ attributes.addClass(classes) }} role="complementary">
    {{ content }}
  </aside>
{% endif %}

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

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