protected function EntityRow::getEntityRepository in Drupal 8
Same name and namespace in other branches
- 9 core/modules/views/src/Plugin/views/row/EntityRow.php \Drupal\views\Plugin\views\row\EntityRow::getEntityRepository()
- 10 core/modules/views/src/Plugin/views/row/EntityRow.php \Drupal\views\Plugin\views\row\EntityRow::getEntityRepository()
Returns the entity repository.
Return value
\Drupal\Core\Entity\EntityRepositoryInterface The entity repository.
Overrides EntityTranslationRenderTrait::getEntityRepository
File
- core/
modules/ views/ src/ Plugin/ views/ row/ EntityRow.php, line 179
Class
- EntityRow
- Generic entity row plugin to provide a common base for all entity types.
Namespace
Drupal\views\Plugin\views\rowCode
protected function getEntityRepository() {
return $this->entityRepository;
}