You are here

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

    • filter_name: filter name.
    • repeat: how many times do you want to repeat the filter action.
    • arg1: argument 1.
    • arg2: argument 2.
    • arg3: argument 3.
    • arg4: argument 4.
  • effect: The effect information, including:
    • id: The effect identifier.
    • label: The effect name.
    • description: The effect description.

File

templates/iek-image-filter-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. * - filter_name: filter name.
  9. * - repeat: how many times do you want to repeat the filter action.
  10. * - arg1: argument 1.
  11. * - arg2: argument 2.
  12. * - arg3: argument 3.
  13. * - arg4: argument 4.
  14. * - effect: The effect information, including:
  15. * - id: The effect identifier.
  16. * - label: The effect name.
  17. * - description: The effect description.
  18. *
  19. * @ingroup themeable
  20. */
  21. #}
  22. <i>(
  23. {% if data.filter_name %}
  24. {% trans %}filter name{% endtrans %}: <b>{{ data.filter_name }}</b>,
  25. {% endif %}
  26. {% if data.repeat %}
  27. {% trans %}repeat{% endtrans %}: <b>{{ data.repeat }}x</b>,
  28. {% endif %}
  29. {% if data.arg1 %}
  30. {% trans %}arg1{% endtrans %}: <b>{{ data.arg1 }}</b>,
  31. {% endif %}
  32. {% if data.arg2 %}
  33. {% trans %}arg2{% endtrans %}: <b>{{ data.arg2 }}</b>,
  34. {% endif %}
  35. {% if data.arg3 %}
  36. {% trans %}arg3{% endtrans %}: <b>{{ data.arg3 }}</b>,
  37. {% endif %}
  38. {% if data.arg4 %}
  39. {% trans %}arg4{% endtrans %}: <b>{{ data.arg4 }}</b>
  40. {% endif %}
  41. )</i>