public function ResponseHeaderDeleteForm::getConfirmText in HTTP Response Headers 8.2
Same name and namespace in other branches
- 2.0.x src/Form/ResponseHeaderDeleteForm.php \Drupal\http_response_headers\Form\ResponseHeaderDeleteForm::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/ ResponseHeaderDeleteForm.php, line 32
Class
- ResponseHeaderDeleteForm
- Builds the form to delete an Response Header.
Namespace
Drupal\http_response_headers\FormCode
public function getConfirmText() {
return $this
->t('Delete');
}