protected static property FactoryTest::$modules in Drupal 9
Same name and namespace in other branches
- 8 core/tests/Drupal/KernelTests/Core/Plugin/FactoryTest.php \Drupal\KernelTests\Core\Plugin\FactoryTest::modules
Modules to enable.
Type: array
Overrides PluginTestBase::$modules
File
- core/
tests/ Drupal/ KernelTests/ Core/ Plugin/ FactoryTest.php, line 17
Class
- FactoryTest
- Tests that plugins are correctly instantiated.
Namespace
Drupal\KernelTests\Core\PluginCode
protected static $modules = [
'node',
'user',
];