You are here

public function TestSqlBase::setConfiguration in Zircon Profile 8

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

Allow us to set the configuration from a test.

Parameters

array $config: The config array.

File

core/modules/migrate/src/Tests/SqlBaseTest.php, line 119
Contains \Drupal\migrate\Tests\SqlBaseTest.

Class

TestSqlBase
A dummy source to help with testing SqlBase.

Namespace

Drupal\migrate\Tests

Code

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