You are here

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\Entity

Code

public function setChallenge(string $challenge) {
  $this->challenge = $challenge;
}