EntityRepository::$contextRepository
Same name in other branches
- 9 core/lib/Drupal/Core/Entity/EntityRepository.php \Drupal\Core\Entity\EntityRepository::contextRepository
- 8.9.x core/lib/Drupal/Core/Entity/EntityRepository.php \Drupal\Core\Entity\EntityRepository::contextRepository
- 11.x core/lib/Drupal/Core/Entity/EntityRepository.php \Drupal\Core\Entity\EntityRepository::contextRepository
The context repository service.
Type: \Drupal\Core\Plugin\Context\ContextRepositoryInterface
File
-
core/
lib/ Drupal/ Core/ Entity/ EntityRepository.php, line 36
Class
- EntityRepository
- Provides several mechanisms for retrieving entities.
Namespace
Drupal\Core\EntityCode
protected $contextRepository;
Buggy or inaccurate documentation? Please file an issue. Need support? Need help programming? Connect with the Drupal community.