image-effects-opacity-summary.html.twig in Image Effects 8
Same filename and directory in other branches
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.
1 theme call to image-effects-opacity-summary.html.twig
- OpacityImageEffect::getSummary in src/
Plugin/ ImageEffect/ OpacityImageEffect.php - Returns a render array summarizing the configuration of the image effect.
File
templates/image-effects-opacity-summary.html.twigView source
- {#
- /**
- * @file
- * 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.
- *
- * @ingroup themeable
- */
- #}
- {% spaceless %}
- {{ data.opacity|e }}%
- {% endspaceless %}