public function ScheduleDeleteForm::getConfirmText in Backup and Migrate 5.0.x
Same name and namespace in other branches
- 8.4 src/Form/ScheduleDeleteForm.php \Drupal\backup_migrate\Form\ScheduleDeleteForm::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/ ScheduleDeleteForm.php, line 31
Class
- ScheduleDeleteForm
- Builds the form to delete Schedule entities.
Namespace
Drupal\backup_migrate\FormCode
public function getConfirmText() {
return $this
->t('Delete');
}