public function BrokenLinkDeleteForm::getConfirmText in Broken Link 8
Same name and namespace in other branches
- 8.3 src/Form/BrokenLinkDeleteForm.php \Drupal\broken_link\Form\BrokenLinkDeleteForm::getConfirmText()
- 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\FormCode
public function getConfirmText() {
return $this
->t('Delete');
}