public function DrupalFlushAllCachesTest::register in Drupal 10
Same name and namespace in other branches
- 9 core/tests/Drupal/KernelTests/Core/Common/DrupalFlushAllCachesTest.php \Drupal\KernelTests\Core\Common\DrupalFlushAllCachesTest::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
See also
\Drupal\Tests\KernelTestBase::bootKernel()
File
- core/
tests/ Drupal/ KernelTests/ Core/ Common/ DrupalFlushAllCachesTest.php, line 66
Class
- DrupalFlushAllCachesTest
- @covers ::drupal_flush_all_caches @group Common
Namespace
Drupal\KernelTests\Core\CommonCode
public function register(ContainerBuilder $container) {
parent::register($container);
$this->containerBuilds++;
}