You are here

protected static property PluginTestBase::$modules in Drupal 10

Same name and namespace in other branches
  1. 8 core/tests/Drupal/KernelTests/Core/Plugin/PluginTestBase.php \Drupal\KernelTests\Core\Plugin\PluginTestBase::modules
  2. 9 core/tests/Drupal/KernelTests/Core/Plugin/PluginTestBase.php \Drupal\KernelTests\Core\Plugin\PluginTestBase::modules

Modules to enable.

Type: array

Overrides KernelTestBase::$modules

File

core/tests/Drupal/KernelTests/Core/Plugin/PluginTestBase.php, line 23

Class

PluginTestBase
Base class for Plugin API unit tests.

Namespace

Drupal\KernelTests\Core\Plugin

Code

protected static $modules = [
  'plugin_test',
];