core/modules/taxonomy/src/TermStorage.php | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/core/modules/taxonomy/src/TermStorage.php b/core/modules/taxonomy/src/TermStorage.php index 933c126..f4da6c2 100644 --- a/core/modules/taxonomy/src/TermStorage.php +++ b/core/modules/taxonomy/src/TermStorage.php @@ -181,7 +181,7 @@ protected function getAncestors(TermInterface $term) { */ public function loadChildren($tid, $vid = NULL) { /** @var \Drupal\taxonomy\TermInterface $term */ - return (!empty($tid) && $term = $this->load($tid)) ? $term->getChildren() : []; + return (!empty($tid) && $term = $this->load($tid)) ? $this->getChildren($term) : []; } /**