You are here

image-effects-opacity-summary.html.twig in Image Effects 8

Default theme implementation for a summary of an image opacity effect.

Available variables:

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

    • opacity: The opacity of the image.
  • effect: The effect information, including:
    • id: The effect identifier.
    • label: The effect name.
    • description: The effect description.

File

templates/image-effects-opacity-summary.html.twig
View source
  1. {#
  2. /**
  3. * @file
  4. * Default theme implementation for a summary of an image opacity effect.
  5. *
  6. * Available variables:
  7. * - data: The current configuration for this opacity effect, including:
  8. * - opacity: The opacity of the image.
  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. {% spaceless %}
  18. {{ data.opacity|e }}%
  19. {% endspaceless %}