You are here

public function ImageEffectDeleteForm::getConfirmText in Drupal 9

Same name and namespace in other branches
  1. 8 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\Form

Code

public function getConfirmText() {
  return $this
    ->t('Delete');
}