ContextTest::$contextDefinition
Same name in other branches
- 8.9.x core/tests/Drupal/Tests/Core/Plugin/Context/ContextTest.php \Drupal\Tests\Core\Plugin\Context\ContextTest::contextDefinition
- 10 core/tests/Drupal/Tests/Core/Plugin/Context/ContextTest.php \Drupal\Tests\Core\Plugin\Context\ContextTest::contextDefinition
- 11.x core/tests/Drupal/Tests/Core/Plugin/Context/ContextTest.php \Drupal\Tests\Core\Plugin\Context\ContextTest::contextDefinition
The mocked context definition object.
Type: \Drupal\Core\Plugin\Context\ContextDefinitionInterface|\PHPUnit\Framework\MockObject\MockObject
File
-
core/
tests/ Drupal/ Tests/ Core/ Plugin/ Context/ ContextTest.php, line 28
Class
- ContextTest
- @coversDefaultClass \Drupal\Core\Plugin\Context\Context @group Plugin
Namespace
Drupal\Tests\Core\Plugin\ContextCode
protected $contextDefinition;
Buggy or inaccurate documentation? Please file an issue. Need support? Need help programming? Connect with the Drupal community.