function HelpEmptyPageTest::register
Same name in other branches
- 9 core/modules/help/tests/src/Kernel/HelpEmptyPageTest.php \Drupal\Tests\help\Kernel\HelpEmptyPageTest::register()
- 8.9.x core/modules/help/tests/src/Kernel/HelpEmptyPageTest.php \Drupal\Tests\help\Kernel\HelpEmptyPageTest::register()
- 11.x core/modules/help/tests/src/Kernel/HelpEmptyPageTest.php \Drupal\Tests\help\Kernel\HelpEmptyPageTest::register()
Overrides KernelTestBase::register
File
-
core/
modules/ help/ tests/ src/ Kernel/ HelpEmptyPageTest.php, line 27
Class
- HelpEmptyPageTest
- Tests the empty HTML page.
Namespace
Drupal\Tests\help\KernelCode
public function register(ContainerBuilder $container) {
parent::register($container);
$container->set('url_generator', new SupernovaGenerator());
}
Buggy or inaccurate documentation? Please file an issue. Need support? Need help programming? Connect with the Drupal community.