protected function SynonymsEntity::getEntityStorage in Synonyms 2.0.x
Same name and namespace in other branches
- 8 synonyms_views_filter/src/Plugin/views/filter/SynonymsEntity.php \Drupal\synonyms_views_filter\Plugin\views\filter\SynonymsEntity::getEntityStorage()
Get entity storage of the entity type this filter is set up to use.
Return value
\Drupal\Core\Entity\EntityStorageInterface The return value
File
- modules/
synonyms_views_filter/ src/ Plugin/ views/ filter/ SynonymsEntity.php, line 263
Class
- SynonymsEntity
- Filter entity by its name or one of its synonyms.
Namespace
Drupal\synonyms_views_filter\Plugin\views\filterCode
protected function getEntityStorage() {
return $this->entityTypeManager
->getStorage($this->definition['entity_type']);
}