You are here

TestSiteInstallTestScript.php in Drupal 8

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

Namesort descending Description
TestSiteInstallTestScript Setup file used by TestSiteApplicationTest.