Mercurial > hg > cmmr2012-drupal-site
comparison core/tests/Drupal/TestSite/TestSiteInstallTestScript.php @ 4:a9cd425dd02b
Update, including to Drupal core 8.6.10
author | Chris Cannam |
---|---|
date | Thu, 28 Feb 2019 13:11:55 +0000 |
parents | |
children |
comparison
equal
deleted
inserted
replaced
3:307d7a7fd348 | 4:a9cd425dd02b |
---|---|
1 <?php | |
2 | |
3 namespace Drupal\TestSite; | |
4 | |
5 /** | |
6 * Setup file used by TestSiteApplicationTest. | |
7 * | |
8 * @see \Drupal\Tests\Scripts\TestSiteApplicationTest | |
9 */ | |
10 class TestSiteInstallTestScript implements TestSetupInterface { | |
11 | |
12 /** | |
13 * {@inheritdoc} | |
14 */ | |
15 public function setup() { | |
16 \Drupal::service('module_installer')->install(['test_page_test']); | |
17 } | |
18 | |
19 } |