You are here

public function BrokenLinkDeleteForm::getConfirmText in Broken Link 8.3

Same name and namespace in other branches
  1. 8 src/Form/BrokenLinkDeleteForm.php \Drupal\broken_link\Form\BrokenLinkDeleteForm::getConfirmText()
  2. 8.2 src/Form/BrokenLinkDeleteForm.php \Drupal\broken_link\Form\BrokenLinkDeleteForm::getConfirmText()

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/BrokenLinkDeleteForm.php, line 31

Class

BrokenLinkDeleteForm
Builds the form to delete Broken link entity entities.

Namespace

Drupal\broken_link\Form

Code

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