function ChangeLoggerTest::register

Overrides PackageManagerKernelTestBase::register

File

core/modules/package_manager/tests/src/Kernel/ChangeLoggerTest.php, line 36

Class

ChangeLoggerTest
@covers \Drupal\package_manager\EventSubscriber\ChangeLogger @group package_manager

Namespace

Drupal\Tests\package_manager\Kernel

Code

public function register(ContainerBuilder $container) : void {
    parent::register($container);
    $container->set('logger.channel.package_manager_change_log', $this->logger);
}

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