function TestSqlBase::setConfiguration

Same name in other branches
  1. 9 core/modules/migrate/tests/src/Kernel/SqlBaseTest.php \Drupal\Tests\migrate\Kernel\TestSqlBase::setConfiguration()
  2. 8.9.x core/modules/migrate/tests/src/Kernel/SqlBaseTest.php \Drupal\Tests\migrate\Kernel\TestSqlBase::setConfiguration()
  3. 11.x 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 243

Class

TestSqlBase
A dummy source to help with testing SqlBase.

Namespace

Drupal\Tests\migrate\Kernel

Code

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

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