You are here

public function TestSqlBase::setConfiguration in Drupal 8

Same name and namespace in other branches
  1. 9 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;
}