You are here

public function ReCaptchaV3Action::setThreshold in reCAPTCHA v3 8

Setter for threshold.

Parameters

float $threshold: Set threshold value.

Overrides ReCaptchaV3ActionInterface::setThreshold

File

src/Entity/ReCaptchaV3Action.php, line 104

Class

ReCaptchaV3Action
Defines the reCAPTCHA v3 action entity.

Namespace

Drupal\recaptcha_v3\Entity

Code

public function setThreshold(float $threshold) {
  $this->threshold = $threshold;
}