You are here

public function StyleguideConfirmForm::getQuestion in Style Guide 2.x

Same name and namespace in other branches
  1. 8 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?');
}