You are here

public function DemoDeleteConfirm::getQuestion in Demonstration site (Sandbox / Snapshot) 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/DemoDeleteConfirm.php, line 69

Class

DemoDeleteConfirm
This class return the demo_delete_confirm, a form where you will be asked to be sure to delete your config file.

Namespace

Drupal\demo\Form

Code

public function getQuestion() {
  return t('Do you want to delete this screenshot?');
}