Captcha.php in Express 8
File
themes/contrib/bootstrap/src/Plugin/Prerender/Captcha.php
View source
<?php
namespace Drupal\bootstrap\Plugin\Prerender;
use Drupal\bootstrap\Annotation\BootstrapPrerender;
use Drupal\bootstrap\Utility\Element;
class Captcha extends PrerenderBase {
public static function preRenderElement(Element $element) {
parent::preRenderElement($element);
$element
->setProperty('smart_description', FALSE, TRUE);
}
}
Classes
Name |
Description |
Captcha |
Pre-render callback for the "captcha" element type. |