public function CaptchaPoint::setCaptchaType in CAPTCHA 8
Setter for captcha type property.
Parameters
string|null $captcha_type: Captcha type.
Overrides CaptchaPointInterface::setCaptchaType
File
- src/
Entity/ CaptchaPoint.php, line 128
Class
- CaptchaPoint
- Defines the CaptchaPoint entity.
Namespace
Drupal\captcha\EntityCode
public function setCaptchaType($captcha_type) {
$this->captchaType = $captcha_type != 'default' ? $captcha_type : NULL;
}