protected function ImageEffectDeleteForm::getConfirmText

Returns a caption for the button that confirms the action.

Return value

string The form confirmation text.

Overrides ConfirmFormBase::getConfirmText

File

drupal/core/modules/image/lib/Drupal/image/Form/ImageEffectDeleteForm.php, line 42
Contains \Drupal\image\Form\ImageEffectDeleteForm.

Class

ImageEffectDeleteForm
Form for deleting an image effect.

Namespace

Drupal\image\Form

Code

protected function getConfirmText() {
  return t('Delete');
}