socialbase-1.1.0/templates/node/image-formatter--node--field-files.html.twig

templates/node/image-formatter--node--field-files.html.twig
{#
/**
 * @file
 * Default theme implementation to display a formatted image field.
 *
 * Available variables:
 * - 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_image_formatter()
 *
 * @ingroup themeable
 */
#}
<li class="card-file">
{% if url %}
  {{ link(image, url) }}
{% else %}
  {{ image }}
{% endif %}
</li>

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

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