protected function ImageStyleDeleteForm::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/ImageStyleDeleteForm.php, line 35
Contains \Drupal\image\Form\ImageStyleDeleteForm.

Class

ImageStyleDeleteForm
Creates a form to delete an image style.

Namespace

Drupal\image\Form

Code

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