You are here

public function CaptchaPointDisableForm::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/CaptchaPointDisableForm.php, line 38

Class

CaptchaPointDisableForm
Builds the form to delete a Captcha Point.

Namespace

Drupal\captcha\Form

Code

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