You are here

protected function MigrateSqlSourceTestCase::getValue in Zircon Profile 8

Same name and namespace in other branches
  1. 8.0 core/modules/migrate/tests/src/Unit/MigrateSqlSourceTestCase.php \Drupal\Tests\migrate\Unit\MigrateSqlSourceTestCase::getValue()

Parameters

\Drupal\migrate\Row $row:

string $key:

Return value

mixed

Overrides MigrateTestCase::getValue

File

core/modules/migrate/tests/src/Unit/MigrateSqlSourceTestCase.php, line 142
Contains \Drupal\Tests\migrate\Unit\MigrateSqlSourceTestCase.

Class

MigrateSqlSourceTestCase
Base class for Migrate module source unit tests.

Namespace

Drupal\Tests\migrate\Unit

Code

protected function getValue($row, $key) {
  return $row
    ->getSourceProperty($key);
}