public function UrlRedirectDeleteForm::getConfirmText in Url Redirect 8.2
Same name and namespace in other branches
- 8 src/Form/UrlRedirectDeleteForm.php \Drupal\url_redirect\Form\UrlRedirectDeleteForm::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/ UrlRedirectDeleteForm.php, line 31
Class
- UrlRedirectDeleteForm
- Builds the form to delete an Example.
Namespace
Drupal\url_redirect\FormCode
public function getConfirmText() {
return $this
->t('Delete');
}