public function HostDeleteForm::getConfirmText in http:BL 8
Returns a caption for the button that confirms the action.
Return value
\Drupal\Core\StringTranslation\TranslatableMarkup The form confirmation text.
Overrides ContentEntityConfirmFormBase::getConfirmText
File
- src/
Form/ HostDeleteForm.php, line 109
Class
- HostDeleteForm
- Provides a form for deleting (and unbanning) a host entity.
Namespace
Drupal\httpbl\FormCode
public function getConfirmText() {
return $this
->t('Delete');
}