You are here

dxpr-gridstack-gridstack-formatter.html.twig in DXPR GridStack 8

Same filename and directory in other branches
  1. 1.0.x templates/dxpr-gridstack-gridstack-formatter.html.twig

Default theme implementation to format image field width Gridstack.

File

templates/dxpr-gridstack-gridstack-formatter.html.twig
View source
  1. {#
  2. /**
  3. * @file
  4. * Default theme implementation to format image field width Gridstack.
  5. */
  6. #}
  7. {% if url %}<a href="{{ url }}">{% endif %}
  8. <div class="sooperthemes-gridstack__img" style="background-image: url({{ image_url }})"></div>
  9. {% if url %}</a>{% endif %}