You are here

protected function TooltipManager::loadAllTaxonomyTerms in Tooltip Taxonomy 8

Load all taxonomy terms of a vocabulary.

Parameters

string $vid: Vocabulary ID.

Return value

array All entities in the entity bundle.

1 call to TooltipManager::loadAllTaxonomyTerms()
TooltipManager::addVocabularyReplacement in src/Services/TooltipManager.php
Add new taxonomy term pattern into the replacement array,.

File

src/Services/TooltipManager.php, line 336

Class

TooltipManager
Tooltip filter condition manager class.

Namespace

Drupal\tooltip_taxonomy\Services

Code

protected function loadAllTaxonomyTerms(string $vid) {
  return $this->entityTypeManager
    ->getStorage('taxonomy_term')
    ->loadTree($vid);
}