TestSiteInstallTestScript.php

Namespace

Drupal\TestSite

File

core/tests/Drupal/TestSite/TestSiteInstallTestScript.php

View 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

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.