You are here

public function ImageEffectDeleteForm::getConfirmText in Zircon Profile 8

Same name and namespace in other branches
  1. 8.0 core/modules/image/src/Form/ImageEffectDeleteForm.php \Drupal\image\Form\ImageEffectDeleteForm::getConfirmText()

Returns a caption for the button that confirms the action.

Return value

string The form confirmation text.

Overrides ConfirmFormBase::getConfirmText

File

core/modules/image/src/Form/ImageEffectDeleteForm.php, line 43
Contains \Drupal\image\Form\ImageEffectDeleteForm.

Class

ImageEffectDeleteForm
Form for deleting an image effect.

Namespace

Drupal\image\Form

Code

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