You are here

public function OrganigramsController::__construct in Organigrams 8.2

Same name and namespace in other branches
  1. 8 src/Controller/OrganigramsController.php \Drupal\organigrams\Controller\OrganigramsController::__construct()

Constructs a OrganigramsController object.

Parameters

\Drupal\organigrams\TaxonomyTermTree $taxonomyTermTree: The Taxonomy Tree builder.

File

src/Controller/OrganigramsController.php, line 30

Class

OrganigramsController
Provides route responses for organigrams.module.

Namespace

Drupal\organigrams\Controller

Code

public function __construct(TaxonomyTermTree $taxonomyTermTree) {
  $this->taxonomyTermTree = $taxonomyTermTree;
}