You are here

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\Form

Code

public function getConfirmText() : string {
  return $this
    ->t('Refresh');
}