You are here

iek-image-overlay-summary.html.twig in Image effect kit 8

Default theme implementation for a summary of an image effect.

Available variables:

  • data: The current configuration for this effect, including:

    • overlay_name: overlay name.
    • overlay_offset: overlay offset, in pixels.
    • bg_offset: background offset, in pixels.
  • effect: The effect information, including:
    • id: The effect identifier.
    • label: The effect name.
    • description: The effect description.

File

templates/iek-image-overlay-summary.html.twig
View source
  1. {#
  2. /**
  3. * @file
  4. * Default theme implementation for a summary of an image effect.
  5. *
  6. * Available variables:
  7. * - data: The current configuration for this effect, including:
  8. * - overlay_name: overlay name.
  9. * - overlay_offset: overlay offset, in pixels.
  10. * - bg_offset: background offset, in pixels.
  11. * - effect: The effect information, including:
  12. * - id: The effect identifier.
  13. * - label: The effect name.
  14. * - description: The effect description.
  15. *
  16. * @ingroup themeable
  17. */
  18. #}
  19. <i>(
  20. {% if data.overlay_name %}
  21. {% trans %}overlay name{% endtrans %}: <b>{{ data.overlay_name }}</b>,
  22. {% endif %}
  23. {% if data.overlay_offset %}
  24. {% trans %}overlay offset{% endtrans %}: <b>{{ data.overlay_offset }}px</b>,
  25. {% endif %}
  26. {% if data.bg_offset %}
  27. {% trans %}background offset{% endtrans %}: <b>{{ data.bg_offset }}px</b>
  28. {% endif %}
  29. )</i>