Returns a caption for the button that confirms the action.
Return value
string
The form confirmation text.
Overrides ConfirmFormBase::getConfirmText
File
- drupal/core/modules/action/lib/Drupal/action/Form/DeleteForm.php, line 35
- Contains \Drupal\action\Form\DeleteForm.
Class
- DeleteForm
- Builds a form to delete an action.
Namespace
Drupal\action\Form
Code
protected function getConfirmText() {
return t('Delete');
}