TestSiteInstallTestScript.php

Same filename in other branches
  1. 9 core/tests/Drupal/TestSite/TestSiteInstallTestScript.php
  2. 10 core/tests/Drupal/TestSite/TestSiteInstallTestScript.php
  3. 11.x core/tests/Drupal/TestSite/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.