class SiteInstallSetupScript in Responsive and off-canvas menu 4.4.x
Same name and namespace in other branches
- 4.1.x tests/src/Nightwatch/SiteInstallSetupScript.php \Drupal\TestSite\SiteInstallSetupScript
- 4.3.x tests/src/Nightwatch/SiteInstallSetupScript.php \Drupal\TestSite\SiteInstallSetupScript
Setup file used by responsive_menu module Nightwatch tests.
Hierarchy
- class \Drupal\TestSite\SiteInstallSetupScript implements TestSetupInterface
Expanded class hierarchy of SiteInstallSetupScript
File
- tests/
src/ Nightwatch/ SiteInstallSetupScript.php, line 8
Namespace
Drupal\TestSiteView source
class SiteInstallSetupScript implements TestSetupInterface {
/**
* {@inheritdoc}
*/
public function setup() {
\Drupal::service('module_installer')
->install([
'responsive_menu_test',
]);
}
}
Members
Name | Modifiers | Type | Description | Overrides |
---|---|---|---|---|
SiteInstallSetupScript:: |
public | function |
Run the code to setup the test environment. Overrides TestSetupInterface:: |