You are here

iek-image-corner-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:

    • radius: radius in pixels.
  • effect: The effect information, including:
    • id: The effect identifier.
    • label: The effect name.
    • description: The effect description.

File

templates/iek-image-corner-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. * - radius: radius in pixels.
  9. * - effect: The effect information, including:
  10. * - id: The effect identifier.
  11. * - label: The effect name.
  12. * - description: The effect description.
  13. *
  14. * @ingroup themeable
  15. */
  16. #}
  17. <i>(
  18. {% if data.radius %}
  19. {% trans %}radius{% endtrans %}: <b>{{ data.radius }}px</b>
  20. {% endif %}
  21. )</i>