You are here

protected function DataEntityRow::getEntityRepository in Drupal 8

Same name and namespace in other branches
  1. 9 core/modules/rest/src/Plugin/views/row/DataEntityRow.php \Drupal\rest\Plugin\views\row\DataEntityRow::getEntityRepository()
  2. 10 core/modules/rest/src/Plugin/views/row/DataEntityRow.php \Drupal\rest\Plugin\views\row\DataEntityRow::getEntityRepository()

Returns the entity repository.

Return value

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

Overrides EntityTranslationRenderTrait::getEntityRepository

File

core/modules/rest/src/Plugin/views/row/DataEntityRow.php, line 151

Class

DataEntityRow
Plugin which displays entities as raw data.

Namespace

Drupal\rest\Plugin\views\row

Code

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