|
| prefetchTerms (array $entityIds, array $termTypes, array $languageCodes) |
|
| getPrefetchedTerm (EntityId $entityId, $termType, $languageCode) |
|
| getLabel (EntityId $entityId, $languageCode) |
|
| getLabels (EntityId $entityId, array $languageCodes) |
|
| getDescription (EntityId $entityId, $languageCode) |
|
| getDescriptions (EntityId $entityId, array $languageCodes) |
|
| getPrefetchedAliases (EntityId $entityId, $languageCode) |
| Returns terms that were previously loaded by prefetchTerms.- Parameters
-
EntityId | $entityId | |
string | $languageCode | |
- Returns
- string[]|false|null The aliases, or false of that entity has no aliases, or null if the term was not yet requested via prefetchTerms().
|
|
PrefetchingTermLookup implementation that does nothing.
Intended to be used with some services that require a default PrefetchingTermLookup in situations that a default does not make sense.
- Author
- Addshore
- Copyright
- GPL-2.0-or-later