function MigrateSqlSourceTestBase::register
Same name in other branches
- 9 core/modules/migrate/tests/src/Kernel/MigrateSqlSourceTestBase.php \Drupal\Tests\migrate\Kernel\MigrateSqlSourceTestBase::register()
- 11.x core/modules/migrate/tests/src/Kernel/MigrateSqlSourceTestBase.php \Drupal\Tests\migrate\Kernel\MigrateSqlSourceTestBase::register()
Overrides KernelTestBase::register
File
-
core/
modules/ migrate/ tests/ src/ Kernel/ MigrateSqlSourceTestBase.php, line 20
Class
- MigrateSqlSourceTestBase
- Base class for tests of Migrate source plugins that use a database.
Namespace
Drupal\Tests\migrate\KernelCode
public function register(ContainerBuilder $container) {
parent::register($container);
$container->register('cache_factory', MemoryCounterBackendFactory::class)
->addArgument(new Reference('datetime.time'));
}
Buggy or inaccurate documentation? Please file an issue. Need support? Need help programming? Connect with the Drupal community.