public function TestSqlBase::getIds in Zircon Profile 8
Same name in this branch
- 8 core/modules/migrate/src/Tests/SqlBaseTest.php \Drupal\migrate\Plugin\migrate\source\TestSqlBase::getIds()
- 8 core/modules/migrate/tests/src/Unit/SqlBaseTest.php \Drupal\Tests\migrate\Unit\TestSqlBase::getIds()
Same name and namespace in other branches
- 8.0 core/modules/migrate/tests/src/Unit/SqlBaseTest.php \Drupal\Tests\migrate\Unit\TestSqlBase::getIds()
Defines the source fields uniquely identifying a source row. None of these fields should contain a NULL value - if necessary, use prepareRow() or hook_migrate_prepare_row() to rewrite NULL values to appropriate empty values (such as '' or 0).
Return value
array Array keyed by source field name, with values being a schema array describing the field (such as ['type' => 'string]).
Overrides MigrateSourceInterface::getIds
File
- core/
modules/ migrate/ tests/ src/ Unit/ SqlBaseTest.php, line 149 - Contains \Drupal\Tests\migrate\Unit\SqlBaseTest.
Class
Namespace
Drupal\Tests\migrate\UnitCode
public function getIds() {
return $this->ids;
}