You are here

protected static property FactoryTest::$modules in Drupal 10

Same name and namespace in other branches
  1. 8 core/tests/Drupal/KernelTests/Core/Plugin/FactoryTest.php \Drupal\KernelTests\Core\Plugin\FactoryTest::modules
  2. 9 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\Plugin

Code

protected static $modules = [
  'node',
  'user',
];