protected function EntityOperations::getEntityRepository in Drupal 8
Same name and namespace in other branches
- 9 core/modules/views/src/Plugin/views/field/EntityOperations.php \Drupal\views\Plugin\views\field\EntityOperations::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/ EntityOperations.php, line 198
Class
- EntityOperations
- Renders all operations links for an entity.
Namespace
Drupal\views\Plugin\views\fieldCode
protected function getEntityRepository() {
return $this->entityRepository;
}