You are here

protected function MigrateTestCase::getValue in Zircon Profile 8

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

Parameters

array $row:

string $key:

Return value

mixed

1 call to MigrateTestCase::getValue()
MigrateTestCase::queryResultTest in core/modules/migrate/tests/src/Unit/MigrateTestCase.php
Tests a query
1 method overrides MigrateTestCase::getValue()
MigrateSqlSourceTestCase::getValue in core/modules/migrate/tests/src/Unit/MigrateSqlSourceTestCase.php

File

core/modules/migrate/tests/src/Unit/MigrateTestCase.php, line 175
Contains \Drupal\Tests\migrate\Unit\MigrateTestCase.

Class

MigrateTestCase
Provides setup and helper methods for Migrate module tests.

Namespace

Drupal\Tests\migrate\Unit

Code

protected function getValue($row, $key) {
  return $row[$key];
}