You are here

public function TestSqlBase::setConfiguration in Drupal 9

Same name and namespace in other branches
  1. 8 core/modules/migrate/tests/src/Kernel/SqlBaseTest.php \Drupal\Tests\migrate\Kernel\TestSqlBase::setConfiguration()

Allows us to set the configuration from a test.

Parameters

array $config: The config array.

File

core/modules/migrate/tests/src/Kernel/SqlBaseTest.php, line 221
Contains \Drupal\Tests\migrate\Kernel\SqlBaseTest.

Class

TestSqlBase
A dummy source to help with testing SqlBase.

Namespace

Drupal\Tests\migrate\Kernel

Code

public function setConfiguration($config) {
  $this->configuration = $config;
}