status-property.html.twig in Apigee Edge 8
Default theme implementation to status_property_element.
Available variables:
- element: Element that will be rendered.
- element['value'] : the status string.
1 theme call to status-property.html.twig
- StatusPropertyElement::getInfo in src/
Element/ StatusPropertyElement.php - Returns the element properties for this element.
File
templates/status-property.html.twigView source
- {#
- /**
- * @file
- * Default theme implementation to status_property_element.
- *
- * Available variables:
- * - element: Element that will be rendered.
- * - element['value'] : the status string.
- *
- * @ingroup themeable
- */
- #}
- {%
- set classes = [
- 'wrapper--status',
- element.attributes.class
- ]
- %}
- <span {{ attributes.addClass(classes) }}>
- <span class="label-status">
- {{ element.value|render|capitalize|t }}
- </span>
- </span>