You are here

class TestSiteInstallTestScript in Drupal 10

Same name and namespace in other branches
  1. 8 core/tests/Drupal/TestSite/TestSiteInstallTestScript.php \Drupal\TestSite\TestSiteInstallTestScript
  2. 9 core/tests/Drupal/TestSite/TestSiteInstallTestScript.php \Drupal\TestSite\TestSiteInstallTestScript

Setup file used by TestSiteApplicationTest.

Hierarchy

Expanded class hierarchy of TestSiteInstallTestScript

See also

\Drupal\Tests\Scripts\TestSiteApplicationTest

File

core/tests/Drupal/TestSite/TestSiteInstallTestScript.php, line 10

Namespace

Drupal\TestSite
View source
class TestSiteInstallTestScript implements TestSetupInterface {

  /**
   * {@inheritdoc}
   */
  public function setup() {
    \Drupal::service('module_installer')
      ->install([
      'test_page_test',
    ]);
  }

}

Members