You are here

public function DeleteTermsConfirm::getDescription in Taxonomy Multi-delete Terms 8

Returns additional text to display as a description.

Return value

\Drupal\Core\StringTranslation\TranslatableMarkup The form description.

Overrides ConfirmFormBase::getDescription

File

src/Form/DeleteTermsConfirm.php, line 62

Class

DeleteTermsConfirm
Defines a confirmation form for deleting term data.

Namespace

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