public function ServiceResourceDeleteForm::getConfirmText in Services 8.4
Same name and namespace in other branches
- 9.0.x src/Form/ServiceResourceDeleteForm.php \Drupal\services\Form\ServiceResourceDeleteForm::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/ ServiceResourceDeleteForm.php, line 33
Class
Namespace
Drupal\services\FormCode
public function getConfirmText() {
return $this
->t('Delete');
}