public function TestSiteMultilingualInstallTestScript::setup in Drupal 10
Same name and namespace in other branches
- 8 core/tests/Drupal/TestSite/TestSiteMultilingualInstallTestScript.php \Drupal\TestSite\TestSiteMultilingualInstallTestScript::setup()
- 9 core/tests/Drupal/TestSite/TestSiteMultilingualInstallTestScript.php \Drupal\TestSite\TestSiteMultilingualInstallTestScript::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',
]);
}