TestSiteInstallTestScript.php
Same filename in other branches
Namespace
Drupal\TestSiteFile
-
core/
tests/ Drupal/ TestSite/ TestSiteInstallTestScript.php
View source
<?php
declare (strict_types=1);
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
Title | Deprecated | Summary |
---|---|---|
TestSiteInstallTestScript | Setup file used by TestSiteApplicationTest. |
Buggy or inaccurate documentation? Please file an issue. Need support? Need help programming? Connect with the Drupal community.