protected function ConfigTestDeleteForm::getQuestion

Returns the question to ask the user.

Return value

string The form question. The page title will be set to this value.

Overrides ConfirmFormBase::getQuestion

File

drupal/core/modules/config/tests/config_test/lib/Drupal/config_test/Form/ConfigTestDeleteForm.php, line 28
Contains \Drupal\config_test\Form\ConfigTestDeleteForm.

Class

ConfigTestDeleteForm
Delete confirmation form for config_test entities.

Namespace

Drupal\config_test\Form

Code

protected function getQuestion() {
  return t('Are you sure you want to delete %label', array(
    '%label' => $this->configTest
      ->label(),
  ));
}