protected function SynonymsEntity::getEntityStorage in Synonyms 8
Same name and namespace in other branches
- 2.0.x modules/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
- synonyms_views_filter/
src/ Plugin/ views/ filter/ SynonymsEntity.php, line 245
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']);
}