You are here

public function ImageStyleFlushForm::getConfirmText in Zircon Profile 8

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

Returns a caption for the button that confirms the action.

Return value

string The form confirmation text.

Overrides EntityConfirmFormBase::getConfirmText

File

core/modules/image/src/Form/ImageStyleFlushForm.php, line 35
Contains \Drupal\image\Form\ImageStyleFlushForm.

Class

ImageStyleFlushForm
Form controller for image style flush.

Namespace

Drupal\image\Form

Code

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