AdminTest::$modules

Same name in this branch
  1. 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
  1. 10 core/modules/system/tests/src/Functional/System/AdminTest.php \Drupal\Tests\system\Functional\System\AdminTest::modules
  2. 9 core/modules/system/tests/src/Functional/System/AdminTest.php \Drupal\Tests\system\Functional\System\AdminTest::modules
  3. 8.9.x core/modules/system/tests/src/Functional/System/AdminTest.php \Drupal\Tests\system\Functional\System\AdminTest::modules
  4. main core/modules/system/tests/src/Functional/System/AdminTest.php \Drupal\Tests\system\Functional\System\AdminTest::modules
  5. 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\Functional

Code

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.