protected static function TermReferenceFancytree::getTermStorage in Term Reference Fancytree 8
Same name and namespace in other branches
- 8.2 src/Element/TermReferenceFancytree.php \Drupal\term_reference_fancytree\Element\TermReferenceFancytree::getTermStorage()
Function to get term storage.
Return value
\Drupal\taxonomy\TermStorageInterface The term storage.
File
- src/
Element/ TermReferenceFancytree.php, line 366
Class
- TermReferenceFancytree
- Term Reference Tree Form Element.
Namespace
Drupal\term_reference_fancytree\ElementCode
protected static function getTermStorage() {
return \Drupal::entityTypeManager()
->getStorage('taxonomy_term');
}