class Captcha in Express 8
Pre-render callback for the "captcha" element type.
Plugin annotation
@BootstrapPrerender("captcha",
action = @BootstrapConstant(
"\Drupal\bootstrap\Bootstrap::CALLBACK_PREPEND"
)
)
Hierarchy
- class \Drupal\bootstrap\Plugin\Prerender\PrerenderBase implements PrerenderInterface
- class \Drupal\bootstrap\Plugin\Prerender\Captcha
Expanded class hierarchy of Captcha
File
- themes/
contrib/ bootstrap/ src/ Plugin/ Prerender/ Captcha.php, line 19
Namespace
Drupal\bootstrap\Plugin\PrerenderView source
class Captcha extends PrerenderBase {
/**
* {@inheritdoc}
*/
public static function preRenderElement(Element $element) {
parent::preRenderElement($element);
$element
->setProperty('smart_description', FALSE, TRUE);
}
}
Members
Name | Modifiers | Type | Description | Overrides |
---|---|---|---|---|
Captcha:: |
public static | function |
Pre-render element callback. Overrides PrerenderBase:: |
|
PrerenderBase:: |
public static | function |
Pre-render render array element callback. Overrides PrerenderInterface:: |