function PerformanceTest::setUp
Same name and namespace in other branches
- 11.x core/modules/navigation/tests/src/FunctionalJavascript/PerformanceTest.php \Drupal\Tests\navigation\FunctionalJavascript\PerformanceTest::setUp()
Overrides PerformanceTestBase::setUp
File
-
core/
modules/ navigation/ tests/ src/ FunctionalJavascript/ PerformanceTest.php, line 39
Class
- PerformanceTest
- Tests performance with the navigation toolbar enabled.
Namespace
Drupal\Tests\navigation\FunctionalJavascriptCode
protected function setUp() : void {
parent::setUp();
// Uninstall the toolbar.
\Drupal::service('module_installer')->uninstall([
'toolbar',
]);
\Drupal::service('module_installer')->install([
'navigation',
]);
}
Buggy or inaccurate documentation? Please file an issue. Need support? Need help programming? Connect with the Drupal community.