function MigrateSqlSourceTestCase::getValue
Gets the value on a row for a given key.
Parameters
\Drupal\migrate\Row $row: The row identifier.
string $key: The key identifier.
Return value
mixed The value on a row for a given key.
Overrides MigrateTestCase::getValue
File
-
core/
modules/ migrate/ tests/ src/ Unit/ MigrateSqlSourceTestCase.php, line 174
Class
- MigrateSqlSourceTestCase
- Base class for Migrate module source unit tests.
Namespace
Drupal\Tests\migrate\UnitCode
protected function getValue($row, $key) {
return $row->getSourceProperty($key);
}
Buggy or inaccurate documentation? Please file an issue. Need support? Need help programming? Connect with the Drupal community.