You are here

image-effects-color-shift-summary.html.twig in Image Effects 8

Default theme implementation for a summary of a Color shift effect.

Available variables:

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

    • RGB: The configured hexadecimal color value.
    • color_info: A render element for color information including a color preview.
  • effect: The effect information, including:
    • id: The effect identifier.
    • label: The effect name.
    • description: The effect description.

File

templates/image-effects-color-shift-summary.html.twig
View source
  1. {#
  2. /**
  3. * @file
  4. * Default theme implementation for a summary of a Color shift effect.
  5. *
  6. * Available variables:
  7. * - data: The current configuration for this watermark effect, including:
  8. * - RGB: The configured hexadecimal color value.
  9. * - color_info: A render element for color information including a color
  10. * preview.
  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. {% spaceless %}
  20. - {{ 'Shift'|t }}: {{ data.color_info }}
  21. {% endspaceless %}