You are here

public function SimpleUserConfirmImportForm::getQuestion in Simple Node Importer 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/SimpleUserConfirmImportForm.php, line 161

Class

SimpleUserConfirmImportForm
Defines a confirmation form to confirm deletion of something by id.

Namespace

Drupal\simple_node_importer\Form

Code

public function getQuestion() {
  $critical_info = new FormattableMarkup('<p class="@class"></p><p>Do you want to continue?</p>', [
    "@class" => "confirmation-info",
  ]);
  return $this
    ->t("@critical_info", [
    "@critical_info" => $critical_info,
  ]);
}