You are here

class SiteInstallSetupScript in Responsive and off-canvas menu 4.1.x

Same name and namespace in other branches
  1. 4.4.x tests/src/Nightwatch/SiteInstallSetupScript.php \Drupal\TestSite\SiteInstallSetupScript
  2. 4.3.x tests/src/Nightwatch/SiteInstallSetupScript.php \Drupal\TestSite\SiteInstallSetupScript

Setup file used by responsive_menu module Nightwatch tests.

Hierarchy

Expanded class hierarchy of SiteInstallSetupScript

File

tests/src/Nightwatch/SiteInstallSetupScript.php, line 8

Namespace

Drupal\TestSite
View source
class SiteInstallSetupScript implements TestSetupInterface {

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

}

Members

Namesort descending Modifiers Type Description Overrides
SiteInstallSetupScript::setup public function Run the code to setup the test environment. Overrides TestSetupInterface::setup