protected function DataEntityRow::getEntityRepository in Drupal 8
Same name and namespace in other branches
- 9 core/modules/rest/src/Plugin/views/row/DataEntityRow.php \Drupal\rest\Plugin\views\row\DataEntityRow::getEntityRepository()
- 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\rowCode
protected function getEntityRepository() {
return $this->entityRepository;
}