BookUninstallTest::$modules

Same name and namespace in other branches
  1. 9 core/modules/book/tests/src/Kernel/BookUninstallTest.php \Drupal\Tests\book\Kernel\BookUninstallTest::modules
  2. 8.9.x core/modules/book/tests/src/Kernel/BookUninstallTest.php \Drupal\Tests\book\Kernel\BookUninstallTest::modules
  3. 10 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

protected 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.