BookUninstallTest::$modules

Same name in other branches
  1. 9 core/modules/book/tests/src/Kernel/BookUninstallTest.php \Drupal\Tests\book\Kernel\BookUninstallTest::modules
  2. 10 core/modules/book/tests/src/Kernel/BookUninstallTest.php \Drupal\Tests\book\Kernel\BookUninstallTest::modules
  3. 11.x core/modules/book/tests/src/Kernel/BookUninstallTest.php \Drupal\Tests\book\Kernel\BookUninstallTest::modules

Modules to enable.

Type: array

Overrides KernelTestBase::$modules

File

core/modules/book/tests/src/Kernel/BookUninstallTest.php, line 21

Class

BookUninstallTest
Tests that the Book module cannot be uninstalled if books exist.

Namespace

Drupal\Tests\book\Kernel

Code

public static $modules = [
    'system',
    'user',
    'field',
    'filter',
    'text',
    'node',
    'book',
];

Buggy or inaccurate documentation? Please file an issue. Need support? Need help programming? Connect with the Drupal community.