iek-image-corner-summary.html.twig in Image effect kit 8
Default theme implementation for a summary of an image effect.
Available variables:
- data: The current configuration for this effect, including:
- radius: radius in pixels.
- effect: The effect information, including:
- id: The effect identifier.
- label: The effect name.
- description: The effect description.
1 theme call to iek-image-corner-summary.html.twig
- ImageCornerEffect::getSummary in src/
Plugin/ ImageEffect/ ImageCornerEffect.php - Returns a render array summarizing the configuration of the image effect.
File
templates/iek-image-corner-summary.html.twigView source
- {#
- /**
- * @file
- * Default theme implementation for a summary of an image effect.
- *
- * Available variables:
- * - data: The current configuration for this effect, including:
- * - radius: radius in pixels.
- * - effect: The effect information, including:
- * - id: The effect identifier.
- * - label: The effect name.
- * - description: The effect description.
- *
- * @ingroup themeable
- */
- #}
- <i>(
- {% if data.radius %}
- {% trans %}radius{% endtrans %}: <b>{{ data.radius }}px</b>
- {% endif %}
- )</i>