function HelpEmptyPageTest::register

Same name in other branches
  1. 9 core/modules/help/tests/src/Kernel/HelpEmptyPageTest.php \Drupal\Tests\help\Kernel\HelpEmptyPageTest::register()
  2. 8.9.x core/modules/help/tests/src/Kernel/HelpEmptyPageTest.php \Drupal\Tests\help\Kernel\HelpEmptyPageTest::register()
  3. 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\Kernel

Code

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.