function SiteConfigurationExcluderTest::register

Overrides PackageManagerKernelTestBase::register

File

core/modules/package_manager/tests/src/Kernel/PathExcluder/SiteConfigurationExcluderTest.php, line 22

Class

SiteConfigurationExcluderTest
@covers \Drupal\package_manager\PathExcluder\SiteConfigurationExcluder @group package_manager @internal

Namespace

Drupal\Tests\package_manager\Kernel\PathExcluder

Code

public function register(ContainerBuilder $container) : void {
    parent::register($container);
    $container->getDefinition(SiteConfigurationExcluder::class)
        ->setClass(TestSiteConfigurationExcluder::class);
}

Buggy or inaccurate documentation? Please file an issue. Need support? Need help programming? Connect with the Drupal community.