public static function Captcha::preRenderElement in Express 8
Pre-render element callback.
Parameters
\Drupal\bootstrap\Utility\Element $element: The element object.
Overrides PrerenderBase::preRenderElement
File
- themes/
contrib/ bootstrap/ src/ Plugin/ Prerender/ Captcha.php, line 24
Class
- Captcha
- Pre-render callback for the "captcha" element type.
Namespace
Drupal\bootstrap\Plugin\PrerenderCode
public static function preRenderElement(Element $element) {
parent::preRenderElement($element);
$element
->setProperty('smart_description', FALSE, TRUE);
}