You are here

public function Framework::taxonomyLoadTree in Realistic Dummy Content 3.x

Same name and namespace in other branches
  1. 8.2 api/src/Framework/Framework.php \Drupal\realistic_dummy_content_api\Framework\Framework::taxonomyLoadTree()
  2. 7.2 api/src/Framework/Framework.php \Drupal\realistic_dummy_content_api\Framework\Framework::taxonomyLoadTree()

Load a taxonomy tree.

Parameters

object $vocabulary: A Drupal vocabulary object.

Return value

array An array of taxonomy term objects.

Throws

\Exception

Overrides FrameworkInterface::taxonomyLoadTree

1 method overrides Framework::taxonomyLoadTree()
Drupal8::taxonomyLoadTree in api/src/Framework/Drupal8.php
Load a taxonomy tree.

File

api/src/Framework/Framework.php, line 413

Class

Framework
The entry point for the framework.

Namespace

Drupal\realistic_dummy_content_api\Framework

Code

public function taxonomyLoadTree($vocabulary) {
  return $this
    ->implementor()
    ->taxonomyLoadTree($vocabulary);
}