VocabularyDeleteForm::getQuestion

public VocabularyDeleteForm::getQuestion()

Returns the question to ask the user.

Return value

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

Overrides EntityDeleteFormTrait::getQuestion

File

core/modules/taxonomy/src/Form/VocabularyDeleteForm.php, line 22

Class

VocabularyDeleteForm
Provides a deletion confirmation form for taxonomy vocabulary.

Namespace

Drupal\taxonomy\Form

Code

public function getQuestion() {
  return $this->t('Are you sure you want to delete the vocabulary %title?', array('%title' => $this->entity->label()));
}
doc_Drupal
2016-10-29 09:56:19
Comments
Leave a Comment

Please login to continue.