BlockFormTest::$contextRepository

Same name in other branches
  1. 9 core/modules/block/tests/src/Unit/BlockFormTest.php \Drupal\Tests\block\Unit\BlockFormTest::contextRepository
  2. 8.9.x core/modules/block/tests/src/Unit/BlockFormTest.php \Drupal\Tests\block\Unit\BlockFormTest::contextRepository
  3. 10 core/modules/block/tests/src/Unit/BlockFormTest.php \Drupal\Tests\block\Unit\BlockFormTest::contextRepository

The mocked context repository.

Type: \Drupal\Core\Plugin\Context\ContextRepositoryInterface|\PHPUnit\Framework\MockObject\MockObject

File

core/modules/block/tests/src/Unit/BlockFormTest.php, line 74

Class

BlockFormTest
@coversDefaultClass \Drupal\block\BlockForm @group block

Namespace

Drupal\Tests\block\Unit

Code

protected $contextRepository;

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