public function ImageStyleFlushForm::getConfirmText in Drupal 9
Same name and namespace in other branches
- 8 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\FormCode
public function getConfirmText() {
return $this
->t('Flush');
}