public static function TestLogger::register in Configuration selector 8
Same name and namespace in other branches
- 8.2 src/TestLogger.php \Drupal\config_selector\TestLogger::register()
Registers the test logger to the container.
Parameters
\Drupal\Core\DependencyInjection\ContainerBuilder $container: The ContainerBuilder to register the test logger to.
1 call to TestLogger::register()
- ConfigSelectorTest::register in tests/
src/ Kernel/ ConfigSelectorTest.php - Registers test-specific services.
File
- src/
TestLogger.php, line 132
Class
- TestLogger
- A test logger.
Namespace
Drupal\config_selectorCode
public static function register(ContainerBuilder $container) {
$container
->register('config_selector.test_logger', __CLASS__)
->addTag('logger');
}