iek-image-border-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:
- border_color: image border color, in Hex format as #cccccc.
- border_thick_top: image top border thick, in pixels.
- border_thick_right: image right border thick, in pixels.
- border_thick_bottom: image bottom border thick, in pixels.
- border_thick_left: image left border thick, 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-border-summary.html.twig
- ImageBorderEffect::getSummary in src/
Plugin/ ImageEffect/ ImageBorderEffect.php - Returns a render array summarizing the configuration of the image effect.
File
templates/iek-image-border-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:
- * - border_color: image border color, in Hex format as #cccccc.
- * - border_thick_top: image top border thick, in pixels.
- * - border_thick_right: image right border thick, in pixels.
- * - border_thick_bottom: image bottom border thick, in pixels.
- * - border_thick_left: image left border thick, in pixels.
- * - effect: The effect information, including:
- * - id: The effect identifier.
- * - label: The effect name.
- * - description: The effect description.
- *
- * @ingroup themeable
- */
- #}
- <i>(
- {% if data.border_color %}
- {% trans %}border color{% endtrans %}: <b>{{ data.border_color }}</b>,
- {% endif %}
-
- {% if data.border_thick_top %}
- {% trans %}border top{% endtrans %}: <b>{{ data.border_thick_top }}px</b>,
- {% endif %}
-
- {% if data.border_thick_right %}
- {% trans %}border right{% endtrans %}: <b>{{ data.border_thick_right }}px</b>,
- {% endif %}
-
- {% if data.border_thick_bottom %}
- {% trans %}border bottom{% endtrans %}: <b>{{ data.border_thick_bottom }}px</b>,
- {% endif %}
-
- {% if data.border_thick_left %}
- {% trans %}border left{% endtrans %}: <b>{{ data.border_thick_left }}px</b>
- {% endif %}
- )</i>