public function ImageEffectDeleteForm::getConfirmText in Drupal 10
Same name and namespace in other branches
- 8 core/modules/image/src/Form/ImageEffectDeleteForm.php \Drupal\image\Form\ImageEffectDeleteForm::getConfirmText()
- 9 core/modules/image/src/Form/ImageEffectDeleteForm.php \Drupal\image\Form\ImageEffectDeleteForm::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/
modules/ image/ src/ Form/ ImageEffectDeleteForm.php, line 40
Class
- ImageEffectDeleteForm
- Form for deleting an image effect.
Namespace
Drupal\image\FormCode
public function getConfirmText() {
return $this
->t('Delete');
}