You are here

public function TermDeleteForm::getDescription in Zircon Profile 8

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

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.');
}