You are here

public function SiteVerifyDeleteForm::getConfirmText in Site verification 8

Returns a caption for the button that confirms the action.

Return value

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

Overrides ConfirmFormBase::getConfirmText

File

src/Form/SiteVerifyDeleteForm.php, line 50

Class

SiteVerifyDeleteForm
Builds the form to delete a forum term.

Namespace

Drupal\site_verify\Form

Code

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