You are here

public function FileHashGenerateForm::getQuestion in File Hash 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/FileHashGenerateForm.php, line 25

Class

FileHashGenerateForm
Implements the file MIME generate settings form.

Namespace

Drupal\filehash\Form

Code

public function getQuestion() {
  return $this
    ->t('Generate file hashes for all uploaded files?');
}