public function MediaThumbnailRefreshForm::getConfirmText in Media Thumbnails 8
Returns a caption for the button that confirms the action.
Return value
\Drupal\Core\StringTranslation\TranslatableMarkup The form confirmation text.
Overrides ConfirmFormBase::getConfirmText
File
- src/
Form/ MediaThumbnailRefreshForm.php, line 39
Class
- MediaThumbnailRefreshForm
- Implements thumbnail refresh confirmation form.
Namespace
Drupal\media_thumbnails\FormCode
public function getConfirmText() : string {
return $this
->t('Refresh');
}