You are here

public function CaptchaPointEnableForm::getConfirmText in CAPTCHA 8

Returns a caption for the button that confirms the action.

Return value

\Drupal\Core\StringTranslation\TranslatableMarkup The form confirmation text.

Overrides EntityConfirmFormBase::getConfirmText

File

src/Form/CaptchaPointEnableForm.php, line 38

Class

CaptchaPointEnableForm
Builds the form to delete a Captcha Point.

Namespace

Drupal\captcha\Form

Code

public function getConfirmText() {
  return $this
    ->t('Enable');
}