You are here

public function TableDragExampleResetForm::getQuestion in Examples for Developers 8

Same name and namespace in other branches
  1. 3.x modules/tabledrag_example/src/Form/TableDragExampleResetForm.php \Drupal\tabledrag_example\Form\TableDragExampleResetForm::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

tabledrag_example/src/Form/TableDragExampleResetForm.php, line 53

Class

TableDragExampleResetForm
Table drag example reset form.

Namespace

Drupal\tabledrag_example\Form

Code

public function getQuestion() {
  return $this
    ->t('Reset demo data for TableDrag Example');
}