EntityConverter::$entityRepository
Same name in other branches
- 8.9.x core/lib/Drupal/Core/ParamConverter/EntityConverter.php \Drupal\Core\ParamConverter\EntityConverter::entityRepository
- 10 core/lib/Drupal/Core/ParamConverter/EntityConverter.php \Drupal\Core\ParamConverter\EntityConverter::entityRepository
- 11.x core/lib/Drupal/Core/ParamConverter/EntityConverter.php \Drupal\Core\ParamConverter\EntityConverter::entityRepository
Entity repository.
Type: \Drupal\Core\Entity\EntityRepositoryInterface
File
-
core/
lib/ Drupal/ Core/ ParamConverter/ EntityConverter.php, line 97
Class
- EntityConverter
- Parameter converter for upcasting entity IDs to full objects.
Namespace
Drupal\Core\ParamConverterCode
protected $entityRepository;
Buggy or inaccurate documentation? Please file an issue. Need support? Need help programming? Connect with the Drupal community.