You are here

public function PagererPresetPaneResetForm::getQuestion in Pagerer 8.2

Same name and namespace in other branches
  1. 8 src/Form/PagererPresetPaneResetForm.php \Drupal\pagerer\Form\PagererPresetPaneResetForm::getQuestion()

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/PagererPresetPaneResetForm.php, line 95

Class

PagererPresetPaneResetForm
Form handler for Pagerer presets' panes.

Namespace

Drupal\pagerer\Form

Code

public function getQuestion() {
  return $this
    ->t("Reset @pane pane configuration?", [
    '@pane' => $this->paneLabels[$this->pane],
  ]);
}