AdminTest::$modules
Same name in this branch
- 11.x core/modules/system/tests/src/Functional/System/AdminTest.php \Drupal\Tests\system\Functional\System\AdminTest::modules
Same name and namespace in other branches
- 10 core/modules/system/tests/src/Functional/System/AdminTest.php \Drupal\Tests\system\Functional\System\AdminTest::modules
- 9 core/modules/system/tests/src/Functional/System/AdminTest.php \Drupal\Tests\system\Functional\System\AdminTest::modules
- 8.9.x core/modules/system/tests/src/Functional/System/AdminTest.php \Drupal\Tests\system\Functional\System\AdminTest::modules
- main core/modules/system/tests/src/Functional/System/AdminTest.php \Drupal\Tests\system\Functional\System\AdminTest::modules
- main core/themes/admin/tests/src/Functional/AdminTest.php \Drupal\Tests\admin\Functional\AdminTest::modules
Type: modules
Overrides BrowserTestBase::$modules
File
-
core/
themes/ admin/ tests/ src/ Functional/ AdminTest.php, line 21
Class
- AdminTest
- Tests the Admin theme.
Namespace
Drupal\Tests\admin\FunctionalCode
protected static $modules = [
// Install the shortcut module so that admin.settings has its schema checked.
// There's currently no way for Admin to provide a default and have valid
// configuration as themes cannot react to a module install.
'shortcut',
'toolbar',
'node',
];
Buggy or inaccurate documentation? Please file an issue. Need support? Need help programming? Connect with the Drupal community.