You are here

public function VocabularyResetForm::getQuestion in Zircon Profile 8

Same name and namespace in other branches
  1. 8.0 core/modules/taxonomy/src/Form/VocabularyResetForm.php \Drupal\taxonomy\Form\VocabularyResetForm::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

core/modules/taxonomy/src/Form/VocabularyResetForm.php, line 56
Contains \Drupal\taxonomy\Form\VocabularyResetForm.

Class

VocabularyResetForm
Provides confirmation form for resetting a vocabulary to alphabetical order.

Namespace

Drupal\taxonomy\Form

Code

public function getQuestion() {
  return $this
    ->t('Are you sure you want to reset the vocabulary %title to alphabetical order?', array(
    '%title' => $this->entity
      ->label(),
  ));
}