protected function DeleteTermsConfirm::getTermsName in Taxonomy Multi-delete Terms 8
1 call to DeleteTermsConfirm::getTermsName()
File
- src/
Form/ DeleteTermsConfirm.php, line 115
Class
- DeleteTermsConfirm
- Defines a confirmation form for deleting term data.
Namespace
Drupal\taxonomy_multidelete_terms\FormCode
protected function getTermsName() {
$tids = $this
->getTermsId();
$name = array();
foreach ($tids as $tid) {
$name[] = Term::load($tid)
->get('name')->value;
}
return $name;
}