protected static function CshsElement::getTermStorage in Client-side Hierarchical Select 8.2
Same name and namespace in other branches
- 8.3 src/Element/CshsElement.php \Drupal\cshs\Element\CshsElement::getTermStorage()
- 8 src/Element/CshsElement.php \Drupal\cshs\Element\CshsElement::getTermStorage()
Returns the "taxonomy_term" entities storage.
Return value
\Drupal\taxonomy\TermStorageInterface The storage.
1 call to CshsElement::getTermStorage()
- CshsElement::validateElement in src/
Element/ CshsElement.php
File
- src/
Element/ CshsElement.php, line 209
Class
- CshsElement
- Defines the CSHS element.
Namespace
Drupal\cshs\ElementCode
protected static function getTermStorage() : TermStorageInterface {
return \Drupal::entityTypeManager()
->getStorage('taxonomy_term');
}