You are here

public function TaxonomyTermTree::__construct in Organigrams 8

Same name and namespace in other branches
  1. 8.2 src/TaxonomyTermTree.php \Drupal\organigrams\TaxonomyTermTree::__construct()

TaxonomyTermTree constructor.

Parameters

\Drupal\Core\Entity\EntityTypeManager $entityTypeManager: Contains the entity type manager.

\Drupal\Core\Entity\EntityFieldManager $entityFieldManager: Contains the entity field manager.

File

src/TaxonomyTermTree.php, line 38

Class

TaxonomyTermTree
Loads taxonomy terms in a tree.

Namespace

Drupal\organigrams

Code

public function __construct(EntityTypeManager $entityTypeManager, EntityFieldManager $entityFieldManager) {
  $this->entityTypeManager = $entityTypeManager;
  $this->entityFieldManager = $entityFieldManager;
}