protected function EntityFieldRenderer::getEntityRepository in Drupal 8
Same name and namespace in other branches
- 9 core/modules/views/src/Entity/Render/EntityFieldRenderer.php \Drupal\views\Entity\Render\EntityFieldRenderer::getEntityRepository()
Returns the entity repository.
Return value
\Drupal\Core\Entity\EntityRepositoryInterface The entity repository.
Overrides EntityTranslationRenderTrait::getEntityRepository
File
- core/
modules/ views/ src/ Entity/ Render/ EntityFieldRenderer.php, line 122
Class
- EntityFieldRenderer
- Renders entity fields.
Namespace
Drupal\views\Entity\RenderCode
protected function getEntityRepository() {
return $this->entityRepository;
}