You are here

public function StyleguideConfirmForm::getQuestion in Style Guide 8

Same name and namespace in other branches
  1. 2.x src/Form/StyleguideConfirmForm.php \Drupal\styleguide\Form\StyleguideConfirmForm::getQuestion()

Returns the question to ask the user.

Return value

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

Overrides ConfirmFormInterface::getQuestion

File

src/Form/StyleguideConfirmForm.php, line 20

Class

StyleguideConfirmForm
The Styleguide confirm form example.

Namespace

Drupal\styleguide\Form

Code

public function getQuestion() {
  return $this
    ->t('Do you want to complete the action?');
}