public function DeleteMultipleForm::getConfirmText in Drupal 9
Same name and namespace in other branches
- 8 core/lib/Drupal/Core/Entity/Form/DeleteMultipleForm.php \Drupal\Core\Entity\Form\DeleteMultipleForm::getConfirmText()
Returns a caption for the button that confirms the action.
Return value
\Drupal\Core\StringTranslation\TranslatableMarkup The form confirmation text.
Overrides ConfirmFormBase::getConfirmText
File
- core/
lib/ Drupal/ Core/ Entity/ Form/ DeleteMultipleForm.php, line 144
Class
- DeleteMultipleForm
- Provides an entities deletion confirmation form.
Namespace
Drupal\Core\Entity\FormCode
public function getConfirmText() {
return $this
->t('Delete');
}