function ContextDefinitionTest::providerGetDataDefinition
Same name in other branches
- 8.9.x core/tests/Drupal/Tests/Core/Plugin/Context/ContextDefinitionTest.php \Drupal\Tests\Core\Plugin\Context\ContextDefinitionTest::providerGetDataDefinition()
- 10 core/tests/Drupal/Tests/Core/Plugin/Context/ContextDefinitionTest.php \Drupal\Tests\Core\Plugin\Context\ContextDefinitionTest::providerGetDataDefinition()
- 11.x core/tests/Drupal/Tests/Core/Plugin/Context/ContextDefinitionTest.php \Drupal\Tests\Core\Plugin\Context\ContextDefinitionTest::providerGetDataDefinition()
Very simple data provider.
File
-
core/
tests/ Drupal/ Tests/ Core/ Plugin/ Context/ ContextDefinitionTest.php, line 21
Class
- ContextDefinitionTest
- Tests the ContextDefinition class.
Namespace
Drupal\Tests\Core\Plugin\ContextCode
public function providerGetDataDefinition() {
return [
[
TRUE,
],
[
FALSE,
],
];
}
Buggy or inaccurate documentation? Please file an issue. Need support? Need help programming? Connect with the Drupal community.