TermDeleteForm::getDescription

public TermDeleteForm::getDescription()

Returns additional text to display as a description.

Return value

string The form description.

Overrides ContentEntityConfirmFormBase::getDescription

File

core/modules/taxonomy/src/Form/TermDeleteForm.php, line 33

Class

TermDeleteForm
Provides a deletion confirmation form for taxonomy term.

Namespace

Drupal\taxonomy\Form

Code

public function getDescription() {
  return $this->t('Deleting a term will delete all its children if there are any. This action cannot be undone.');
}
doc_Drupal
2016-10-29 09:47:09
Comments
Leave a Comment

Please login to continue.