function ConfigImporterMissingContentTest::register

Same name in other branches
  1. 11.x core/tests/Drupal/KernelTests/Core/Config/ConfigImporterMissingContentTest.php \Drupal\KernelTests\Core\Config\ConfigImporterMissingContentTest::register()

Overrides KernelTestBase::register

File

core/tests/Drupal/KernelTests/Core/Config/ConfigImporterMissingContentTest.php, line 59

Class

ConfigImporterMissingContentTest
Tests importing configuration which has missing content dependencies.

Namespace

Drupal\KernelTests\Core\Config

Code

public function register(ContainerBuilder $container) {
    parent::register($container);
    $container->register('logger.ConfigImporterMissingContentTest', __CLASS__)
        ->addTag('logger');
    $container->set('logger.ConfigImporterMissingContentTest', $this);
}

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