function TestSiteMultilingualInstallTestScript::setup
Same name in other branches
- 8.9.x core/tests/Drupal/TestSite/TestSiteMultilingualInstallTestScript.php \Drupal\TestSite\TestSiteMultilingualInstallTestScript::setup()
- 10 core/tests/Drupal/TestSite/TestSiteMultilingualInstallTestScript.php \Drupal\TestSite\TestSiteMultilingualInstallTestScript::setup()
- 11.x core/tests/Drupal/TestSite/TestSiteMultilingualInstallTestScript.php \Drupal\TestSite\TestSiteMultilingualInstallTestScript::setup()
Overrides TestSetupInterface::setup
File
-
core/
tests/ Drupal/ TestSite/ TestSiteMultilingualInstallTestScript.php, line 24
Class
- TestSiteMultilingualInstallTestScript
- Setup file used by TestSiteApplicationTest.
Namespace
Drupal\TestSiteCode
public function setup() {
\Drupal::service('module_installer')->install([
'test_page_test',
]);
}
Buggy or inaccurate documentation? Please file an issue. Need support? Need help programming? Connect with the Drupal community.