You are here

public function MediaThumbnailRefreshForm::getQuestion in Media Thumbnails 8

Returns the question to ask the user.

Return value

\Drupal\Core\StringTranslation\TranslatableMarkup The form question. The page title will be set to this value.

Overrides ConfirmFormInterface::getQuestion

File

src/Form/MediaThumbnailRefreshForm.php, line 25

Class

MediaThumbnailRefreshForm
Implements thumbnail refresh confirmation form.

Namespace

Drupal\media_thumbnails\Form

Code

public function getQuestion() : string {
  return $this
    ->t('Refresh the thumbnails for all media entities?');
}