function ConfigDeleteForm::getQuestion

Same name and namespace in other branches
  1. 4.x src/Form/ConfigDeleteForm.php \Drupal\devel\Form\ConfigDeleteForm::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

1 call to ConfigDeleteForm::getQuestion()
ConfigDeleteForm::buildForm in src/Form/ConfigDeleteForm.php
Form constructor.

File

src/Form/ConfigDeleteForm.php, line 115

Class

ConfigDeleteForm
Edit config variable form.

Namespace

Drupal\devel\Form

Code

public function getQuestion() {
  return $this->t('Are you sure you want to delete this configuration?');
}