imagelightbox-8.x-1.3/templates/imagelightbox-formatter.html.twig

templates/imagelightbox-formatter.html.twig
{#
/**
 * @file
 * Default theme implementation to display a formatted ImageLightBox field.
 *
 * Available variables:
 * - link_attibutes: Link attributes.
 * - image: A collection of image data.
 * - image_style: An optional image style.
 * - url: An optional URL the image can be linked to.
 *
 * @see template_preprocess_ImageLightBox_formatter()
 *
 * @ingroup themeable
 */
#}

<a {{ link_attributes }} href="{{ url }}">{{ image }}</a>

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

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