layout_paragraphs-1.0.x-dev/templates/layout-paragraphs-insert-component-btn.html.twig

templates/layout-paragraphs-insert-component-btn.html.twig
{#
/**
 * @file
 * Default theme implementation of the Insert Component Button template.
 *
 * Available Variables
 * - title: Human-readable string value assigned to the button either by default, or determined from configuration.
 * - weight: Integer value that determines the importance in a list.
 * - attributes: HTML attributes for the containing element.
 * - url: Layout Paragraphs dynamic builder URL, as generated by building route parameters from query parameters.
 * - toggle: Boolean value that determines whether or not there should be tooltip labels.
 *
 * @ingroup themeable
 */
#}
<a {{ attributes }} href="{{ url }}" aria-label="{{ title }}">
  <span class="lpb-btn--tooltip">{{ title }}</span>
</a>

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

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