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