TestSiteInstallTestScript.php in Drupal 8
Same filename and directory in other branches
Namespace
Drupal\TestSiteFile
core/tests/Drupal/TestSite/TestSiteInstallTestScript.phpView source
<?php
namespace Drupal\TestSite;
/**
* Setup file used by TestSiteApplicationTest.
*
* @see \Drupal\Tests\Scripts\TestSiteApplicationTest
*/
class TestSiteInstallTestScript implements TestSetupInterface {
/**
* {@inheritdoc}
*/
public function setup() {
\Drupal::service('module_installer')
->install([
'test_page_test',
]);
}
}
Classes
Name | Description |
---|---|
TestSiteInstallTestScript | Setup file used by TestSiteApplicationTest. |