You are here

protected function RenderedEntity::getEntityRepository in Drupal 8

Same name and namespace in other branches
  1. 9 core/modules/views/src/Plugin/views/field/RenderedEntity.php \Drupal\views\Plugin\views\field\RenderedEntity::getEntityRepository()

Returns the entity repository.

Return value

\Drupal\Core\Entity\EntityRepositoryInterface The entity repository.

Overrides EntityTranslationRenderTrait::getEntityRepository

File

core/modules/views/src/Plugin/views/field/RenderedEntity.php, line 231

Class

RenderedEntity
Provides a field handler which renders an entity in a certain view mode.

Namespace

Drupal\views\Plugin\views\field

Code

protected function getEntityRepository() {
  return $this->entityRepository;
}