EntityViewBuilder::$entityRepository
Same name in other branches
- 9 core/lib/Drupal/Core/Entity/EntityViewBuilder.php \Drupal\Core\Entity\EntityViewBuilder::entityRepository
- 10 core/lib/Drupal/Core/Entity/EntityViewBuilder.php \Drupal\Core\Entity\EntityViewBuilder::entityRepository
- 11.x core/lib/Drupal/Core/Entity/EntityViewBuilder.php \Drupal\Core\Entity\EntityViewBuilder::entityRepository
The entity repository service.
Type: \Drupal\Core\Entity\EntityRepositoryInterface
File
-
core/
lib/ Drupal/ Core/ Entity/ EntityViewBuilder.php, line 51
Class
- EntityViewBuilder
- Base class for entity view builders.
Namespace
Drupal\Core\EntityCode
protected $entityRepository;
Buggy or inaccurate documentation? Please file an issue. Need support? Need help programming? Connect with the Drupal community.