image-effects-color-shift-summary.html.twig in Image Effects 8.3
Same filename and directory in other branches
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.
1 theme call to image-effects-color-shift-summary.html.twig
- ColorShiftImageEffect::getSummary in src/
Plugin/ ImageEffect/ ColorShiftImageEffect.php - Returns a render array summarizing the configuration of the image effect.
File
templates/image-effects-color-shift-summary.html.twigView source
- {#
- /**
- * @file
- * 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.
- *
- * @ingroup themeable
- */
- #}
- {% apply spaceless %}
- - {{ 'Shift'|t }}: {{ data.color_info }}
- {% endapply %}