image-effects-imagemagick-arguments-summary.html.twig in Image Effects 8.3
Same filename and directory in other branches
Default theme implementation for a summary of an Imagemagick arguments effect.
Available variables:
- data: The current configuration for this interlace effect, including:
- command_line: The ImageMagick arguments.
- dimensions_method: The method to calculate dimensions.
- width: The image width.
- height: The image height.
- effect: The effect information, including:
- id: The effect identifier.
- label: The effect name.
- description: The effect description.
1 theme call to image-effects-imagemagick-arguments-summary.html.twig
- ImagemagickArgumentsImageEffect::getSummary in src/
Plugin/ ImageEffect/ ImagemagickArgumentsImageEffect.php - Returns a render array summarizing the configuration of the image effect.
File
templates/image-effects-imagemagick-arguments-summary.html.twigView source
- {#
- /**
- * @file
- * Default theme implementation for a summary of an Imagemagick arguments effect.
- *
- * Available variables:
- * - data: The current configuration for this interlace effect, including:
- * - command_line: The ImageMagick arguments.
- * - dimensions_method: The method to calculate dimensions.
- * - width: The image width.
- * - height: The image height.
- * - effect: The effect information, including:
- * - id: The effect identifier.
- * - label: The effect name.
- * - description: The effect description.
- *
- * @ingroup themeable
- */
- #}
- {% apply spaceless %}
- <em>{{ data.command_line }}</em>
- - {{ 'Dimensions'|t }}: {{ data.dimensions_method|e }}
- {% if data.dimensions_method == 'value' %}
- - {{ 'Width'|t }}: {{ data.width|e }}, {{ 'Height'|t }}: {{ data.height|e }}
- {% endif %}
- {% endapply %}