VocabularyResetForm::getQuestion

public 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 51

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()));
}
doc_Drupal
2016-10-29 09:56:32
Comments
Leave a Comment

Please login to continue.