EntityRepositoryTest::$contextRepository

Same name and namespace in other branches
  1. 9 core/tests/Drupal/Tests/Core/Entity/EntityRepositoryTest.php \Drupal\Tests\Core\Entity\EntityRepositoryTest::contextRepository
  2. 8.9.x core/tests/Drupal/Tests/Core/Entity/EntityRepositoryTest.php \Drupal\Tests\Core\Entity\EntityRepositoryTest::contextRepository
  3. 10 core/tests/Drupal/Tests/Core/Entity/EntityRepositoryTest.php \Drupal\Tests\Core\Entity\EntityRepositoryTest::contextRepository

The context repository.

Type: \Drupal\Core\Plugin\Context\ContextRepositoryInterface|\Prophecy\Prophecy\ProphecyInterface

File

core/tests/Drupal/Tests/Core/Entity/EntityRepositoryTest.php, line 42

Class

EntityRepositoryTest
@coversDefaultClass <a href="/api/drupal/core%21lib%21Drupal%21Core%21Entity%21EntityRepository.php/class/EntityRepository/11.x" title="Provides several mechanisms for retrieving entities." class="local">\Drupal\Core\Entity\EntityRepository</a> @group Entity

Namespace

Drupal\Tests\Core\Entity

Code

protected $contextRepository;

Buggy or inaccurate documentation? Please file an issue. Need support? Need help programming? Connect with the Drupal community.