function HelpTopicTest::register
Same name and namespace in other branches
- main core/modules/help/tests/src/Kernel/HelpTopicTest.php \Drupal\Tests\help\Kernel\HelpTopicTest::register()
Registers test-specific services.
Extend this method in your test to register additional services. This method is called whenever the kernel is rebuilt.
Parameters
\Drupal\Core\DependencyInjection\ContainerBuilder $container: The service container to enhance.
Overrides KernelTestBase::register
File
-
core/
modules/ help/ tests/ src/ Kernel/ HelpTopicTest.php, line 64
Class
- HelpTopicTest
- Verifies help topic display and user access to help based on permissions.
Namespace
Drupal\Tests\help\KernelCode
public function register(ContainerBuilder $container) : void {
parent::register($container);
$container->setParameter('http.response.debug_cacheability_headers', TRUE);
}
Buggy or inaccurate documentation? Please file an issue. Need support? Need help programming? Connect with the Drupal community.