BookUninstallTest::$modules
Same name in other branches
- 9 core/modules/book/tests/src/Kernel/BookUninstallTest.php \Drupal\Tests\book\Kernel\BookUninstallTest::modules
- 10 core/modules/book/tests/src/Kernel/BookUninstallTest.php \Drupal\Tests\book\Kernel\BookUninstallTest::modules
- 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\KernelCode
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.