function ContextAwarePluginBaseTest::testGetContextDefinitions
Same name and namespace in other branches
- 8.9.x core/tests/Drupal/KernelTests/Core/Plugin/Context/ContextAwarePluginBaseTest.php \Drupal\KernelTests\Core\Plugin\Context\ContextAwarePluginBaseTest::testGetContextDefinitions()
@covers ::getContextDefinitions
File
-
core/
tests/ Drupal/ KernelTests/ Core/ Plugin/ Context/ ContextAwarePluginBaseTest.php, line 53
Class
- ContextAwarePluginBaseTest
- @coversDefaultClass <a href="/api/drupal/core%21lib%21Drupal%21Core%21Plugin%21ContextAwarePluginBase.php/class/ContextAwarePluginBase/9" title="Base class for plugins that are context aware." class="local">\Drupal\Core\Plugin\ContextAwarePluginBase</a>
Namespace
Drupal\KernelTests\Core\Plugin\ContextCode
public function testGetContextDefinitions() {
$this->assertIsArray($this->plugin
->getContextDefinitions());
}
Buggy or inaccurate documentation? Please file an issue. Need support? Need help programming? Connect with the Drupal community.