tmgmt-local-translation-form-element-status.html.twig

Default theme implementation for local form element status.

Available variables:

  • wrapper_attributes: The HTML attributes object of status wrapper.
  • icon_url: The URL of the icon in use.
  • title: The title of the icon.
1 theme call to tmgmt-local-translation-form-element-status.html.twig
LocalTaskItemForm::formElement in translators/tmgmt_local/src/Form/LocalTaskItemForm.php
Builds a translation form element.

File

translators/tmgmt_local/templates/tmgmt-local-translation-form-element-status.html.twig
View source
  1. {#
  2. /**
  3. * @file
  4. * Default theme implementation for local form element status.
  5. *
  6. * Available variables:
  7. * - wrapper_attributes: The HTML attributes object of status wrapper.
  8. * - icon_url: The URL of the icon in use.
  9. * - title: The title of the icon.
  10. *
  11. * @ingroup themeable
  12. */
  13. #}
  14. <div{{ wrapper_attributes }}>
  15. <img src="{{ icon_url }}" alt="{{ title }}"/><span></span>
  16. </div>