function PerformanceTestTrait::doInstallModulesFromClassProperty
Same name in other branches
- 10 core/tests/Drupal/Tests/PerformanceTestTrait.php \Drupal\Tests\PerformanceTestTrait::doInstallModulesFromClassProperty()
Helper for ::installModulesFromClassProperty().
To use this, override BrowserTestBase::installModulesFromClassProperty() and call this helper.
See also
\Drupal\Tests\BrowserTestBase::installModulesFromClassProperty()
1 call to PerformanceTestTrait::doInstallModulesFromClassProperty()
- PerformanceTestBase::installModulesFromClassProperty in core/
tests/ Drupal/ FunctionalJavascriptTests/ PerformanceTestBase.php - Install modules defined by `static::$modules`.
File
-
core/
tests/ Drupal/ Tests/ PerformanceTestTrait.php, line 49
Class
- PerformanceTestTrait
- Provides various methods to aid in collecting performance data during tests.
Namespace
Drupal\TestsCode
private function doInstallModulesFromClassProperty(ContainerInterface $container) {
// Bypass everything that WebDriverTestBase does here to get closer to
// a production configuration.
BrowserTestBase::installModulesFromClassProperty($container);
}
Buggy or inaccurate documentation? Please file an issue. Need support? Need help programming? Connect with the Drupal community.