public function ReCaptchaV3Action::setChallenge in reCAPTCHA v3 8
Setter for challenge.
Parameters
string $challenge: Set challenge type.
Overrides ReCaptchaV3ActionInterface::setChallenge
File
- src/
Entity/ ReCaptchaV3Action.php, line 118
Class
- ReCaptchaV3Action
- Defines the reCAPTCHA v3 action entity.
Namespace
Drupal\recaptcha_v3\EntityCode
public function setChallenge(string $challenge) {
$this->challenge = $challenge;
}