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

1
2
3
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
2025-01-10 15:47:30
Comments
Leave a Comment

Please login to continue.