diff --git a/core/modules/taxonomy/lib/Drupal/taxonomy/TermFormController.php b/core/modules/taxonomy/lib/Drupal/taxonomy/TermFormController.php index 56ee196..881fd77 100644 --- a/core/modules/taxonomy/lib/Drupal/taxonomy/TermFormController.php +++ b/core/modules/taxonomy/lib/Drupal/taxonomy/TermFormController.php @@ -138,7 +138,8 @@ public function buildEntity(array $form, array &$form_state) { // Prevent leading and trailing spaces in term names. $term->name->value = trim($term->name->value); - // Convert text_format field into values expected by save() method. + // Convert text_format field into values expected by + // \Drupal\Core\Entity\Entity::save() method. $description = $form_state['values']['description']; $term->description->value = $description['value']; $term->format->value = $description['format'];