TestSiteInstallTestScript.php 349 B

12345678910111213141516171819
  1. <?php
  2. namespace Drupal\TestSite;
  3. /**
  4. * Setup file used by TestSiteApplicationTest.
  5. *
  6. * @see \Drupal\Tests\Scripts\TestSiteApplicationTest
  7. */
  8. class TestSiteInstallTestScript implements TestSetupInterface {
  9. /**
  10. * {@inheritdoc}
  11. */
  12. public function setup() {
  13. \Drupal::service('module_installer')->install(['test_page_test']);
  14. }
  15. }