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()
1 theme call to image-captcha-refresh.html.twig
- image_captcha_after_build_process in image_captcha/
image_captcha.module - Add image refresh button to captcha form element.
File
image_captcha/templates/image-captcha-refresh.html.twigView source
- {#
- /**
- * @file
- * 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 template_preprocess_custom_zipang_link_formatter()
- *
- * @ingroup themeable
- */
- #}
- {{ attach_library('image_captcha/image-captcha-refresh') }}
- <div class="reload-captcha-wrapper">
- {{captcha_refresh_link}}
- </div>