class TestSiteInstallTestScript
Same name in other branches
- 8.9.x core/tests/Drupal/TestSite/TestSiteInstallTestScript.php \Drupal\TestSite\TestSiteInstallTestScript
- 10 core/tests/Drupal/TestSite/TestSiteInstallTestScript.php \Drupal\TestSite\TestSiteInstallTestScript
- 11.x core/tests/Drupal/TestSite/TestSiteInstallTestScript.php \Drupal\TestSite\TestSiteInstallTestScript
Setup file used by TestSiteApplicationTest.
Hierarchy
- class \Drupal\TestSite\TestSiteInstallTestScript implements \Drupal\TestSite\TestSetupInterface
Expanded class hierarchy of TestSiteInstallTestScript
See also
\Drupal\Tests\Scripts\TestSiteApplicationTest
File
-
core/
tests/ Drupal/ TestSite/ TestSiteInstallTestScript.php, line 10
Namespace
Drupal\TestSiteView source
class TestSiteInstallTestScript implements TestSetupInterface {
/**
* {@inheritdoc}
*/
public function setup() {
\Drupal::service('module_installer')->install([
'test_page_test',
]);
}
}
Members
Title Sort descending | Modifiers | Object type | Summary | Overriden Title |
---|---|---|---|---|
TestSiteInstallTestScript::setup | public | function | Run the code to setup the test environment. | Overrides TestSetupInterface::setup |
Buggy or inaccurate documentation? Please file an issue. Need support? Need help programming? Connect with the Drupal community.