You are here

image-captcha-refresh.html.twig in CAPTCHA 8

Custom theme implementation for custom field type defined.

Available variables:

  • uri: An optional URL the image can be linked to.
  • title: An optional Title value which will be shown as text.
  • link_value: Value used to open the link in new or same tab.

See also

template_preprocess_custom_zipang_link_formatter()

File

image_captcha/templates/image-captcha-refresh.html.twig
View source
  1. {#
  2. /**
  3. * @file
  4. * Custom theme implementation for custom field type defined.
  5. *
  6. * Available variables:
  7. * - uri: An optional URL the image can be linked to.
  8. * - title: An optional Title value which will be shown as text.
  9. * - link_value: Value used to open the link in new or same tab.
  10. *
  11. * @see template_preprocess_custom_zipang_link_formatter()
  12. *
  13. * @ingroup themeable
  14. */
  15. #}
  16. {{ attach_library('image_captcha/image-captcha-refresh') }}
  17. <div class="reload-captcha-wrapper">
  18. {{captcha_refresh_link}}
  19. </div>