public function WSServerDeleteForm::getConfirmText in Web Service Data 8
Same name and namespace in other branches
- 2.0.x src/Form/WSServerDeleteForm.php \Drupal\wsdata\Form\WSServerDeleteForm::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/ WSServerDeleteForm.php, line 31
Class
- WSServerDeleteForm
- Builds the form to delete Web Service Server entities.
Namespace
Drupal\wsdata\FormCode
public function getConfirmText() {
return $this
->t('Delete');
}