You are here

public static property PluginManagerTest::$modules in Purge 8.3

Same name in this branch
  1. 8.3 tests/src/Kernel/Purger/PluginManagerTest.php \Drupal\Tests\purge\Kernel\Purger\PluginManagerTest::modules
  2. 8.3 tests/src/Kernel/Processor/PluginManagerTest.php \Drupal\Tests\purge\Kernel\Processor\PluginManagerTest::modules
  3. 8.3 tests/src/Kernel/Queue/PluginManagerTest.php \Drupal\Tests\purge\Kernel\Queue\PluginManagerTest::modules
  4. 8.3 tests/src/Kernel/TagsHeader/PluginManagerTest.php \Drupal\Tests\purge\Kernel\TagsHeader\PluginManagerTest::modules
  5. 8.3 tests/src/Kernel/Queuer/PluginManagerTest.php \Drupal\Tests\purge\Kernel\Queuer\PluginManagerTest::modules
  6. 8.3 tests/src/Kernel/DiagnosticCheck/PluginManagerTest.php \Drupal\Tests\purge\Kernel\DiagnosticCheck\PluginManagerTest::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.

The Path Alias module is always installed because the functionality has moved from core to a required module in Drupal 8.8.0. If a kernel test requires path alias functionality it is recommended to add the module to the test's own $modules property for Drupal 9 compatibility.

Type: array

Overrides KernelTestBase::$modules

See also

\Drupal\Tests\KernelTestBase::enableModules()

\Drupal\Tests\KernelTestBase::bootKernel()

File

tests/src/Kernel/TagsHeader/PluginManagerTest.php, line 23

Class

PluginManagerTest
Tests \Drupal\purge\Plugin\Purge\TagsHeader\PluginManager.

Namespace

Drupal\Tests\purge\Kernel\TagsHeader

Code

public static $modules = [
  'purge_tagsheader_test',
];