You are here

public function ImageStyleFlushForm::getConfirmText in Drupal 8

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

Returns a caption for the button that confirms the action.

Return value

\Drupal\Core\StringTranslation\TranslatableMarkup The form confirmation text.

Overrides EntityConfirmFormBase::getConfirmText

File

core/modules/image/src/Form/ImageStyleFlushForm.php, line 32

Class

ImageStyleFlushForm
Form controller for image style flush.

Namespace

Drupal\image\Form

Code

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