ContextualUnitTest::$modules
Same name in other branches
- 9 core/modules/contextual/tests/src/Kernel/ContextualUnitTest.php \Drupal\Tests\contextual\Kernel\ContextualUnitTest::modules
- 10 core/modules/contextual/tests/src/Kernel/ContextualUnitTest.php \Drupal\Tests\contextual\Kernel\ContextualUnitTest::modules
- 11.x core/modules/contextual/tests/src/Kernel/ContextualUnitTest.php \Drupal\Tests\contextual\Kernel\ContextualUnitTest::modules
Modules to enable.
Type: array
Overrides KernelTestBase::$modules
File
-
core/
modules/ contextual/ tests/ src/ Kernel/ ContextualUnitTest.php, line 20
Class
- ContextualUnitTest
- Tests all edge cases of converting from #contextual_links to ids and vice versa.
Namespace
Drupal\Tests\contextual\KernelCode
public static $modules = [
'contextual',
];
Buggy or inaccurate documentation? Please file an issue. Need support? Need help programming? Connect with the Drupal community.