TermDeleteForm::getDeletionMessage

protected TermDeleteForm::getDeletionMessage()

Overrides ContentEntityDeleteForm::getDeletionMessage

File

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

Class

TermDeleteForm
Provides a deletion confirmation form for taxonomy term.

Namespace

Drupal\taxonomy\Form

Code

protected function getDeletionMessage() {
  return $this->t('Deleted term %name.', array('%name' => $this->entity->label()));
}
doc_Drupal
2016-10-29 09:47:09
Comments
Leave a Comment

Please login to continue.