You are here

public static property FactoryTest::$modules in Drupal 8

Same name and namespace in other branches
  1. 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

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