You are here

image-effects-gaussian-blur-summary.html.twig in Image Effects 8

Default theme implementation for a summary of a gaussian blur effect.

Available variables:

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

    • radius: The radius of the blur.
    • sigma: The sigma value for the blur.
  • effect: The effect information, including:
    • id: The effect identifier.
    • label: The effect name.
    • description: The effect description.

File

templates/image-effects-gaussian-blur-summary.html.twig
View source
  1. {#
  2. /**
  3. * @file
  4. * Default theme implementation for a summary of a gaussian blur effect.
  5. *
  6. * Available variables:
  7. * - data: The current configuration for this blur effect, including:
  8. * - radius: The radius of the blur.
  9. * - sigma: The sigma value for the blur.
  10. * - effect: The effect information, including:
  11. * - id: The effect identifier.
  12. * - label: The effect name.
  13. * - description: The effect description.
  14. *
  15. * @ingroup themeable
  16. */
  17. #}
  18. {% spaceless %}
  19. - {{ 'Radius: '|t }}{{ data.radius }}{{ 'px'|t }}
  20. {% if data.sigma %}
  21. - {{ 'Sigma: '|t }}{{ data.sigma }}
  22. {% endif %}
  23. {% endspaceless %}