protected static property ComponentBlockDiscoveryTest::$modules in Component blocks 1.x
Same name and namespace in other branches
- 1.0.x tests/src/Kernel/ComponentBlockDiscoveryTest.php \Drupal\Tests\component_blocks\Kernel\ComponentBlockDiscoveryTest::modules
- 1.1.x tests/src/Kernel/ComponentBlockDiscoveryTest.php \Drupal\Tests\component_blocks\Kernel\ComponentBlockDiscoveryTest::modules
Modules to enable.
The test runner will merge the $modules lists from this class, the class it extends, and so on up the class hierarchy. It is not necessary to include modules in your list that a parent class has already declared.
Type: array
Overrides KernelTestBase::$modules
See also
\Drupal\Tests\KernelTestBase::enableModules()
\Drupal\Tests\KernelTestBase::bootKernel()
File
- tests/
src/ Kernel/ ComponentBlockDiscoveryTest.php, line 17
Class
- ComponentBlockDiscoveryTest
- Defines a class for testing component block discovery.
Namespace
Drupal\Tests\component_blocks\KernelCode
protected static $modules = [
'component_blocks',
'components',
'block',
'component_blocks_test',
'entity_test',
'ui_patterns',
'ui_patterns_library',
'system',
];