protected function MigrateTestCase::getValue in Drupal 8
Same name and namespace in other branches
- 9 core/modules/migrate/tests/src/Unit/MigrateTestCase.php \Drupal\Tests\migrate\Unit\MigrateTestCase::getValue()
Gets the value on a row for a given key.
Parameters
array $row: The row information.
string $key: The key identifier.
Return value
mixed The value on a row for a given key.
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 - Gets the value on a row for a given key.
File
- core/
modules/ migrate/ tests/ src/ Unit/ MigrateTestCase.php, line 183
Class
- MigrateTestCase
- Provides setup and helper methods for Migrate module tests.
Namespace
Drupal\Tests\migrate\UnitCode
protected function getValue($row, $key) {
return $row[$key];
}