function TestSqlBase::fields
Returns available fields on the source.
Return value
array Available fields in the source, keys are the field machine names as used in field mappings, values are descriptions.
Overrides MigrateSourceInterface::fields
File
-
core/
modules/ migrate/ tests/ src/ Unit/ SqlBaseTest.php, line 220
Class
- TestSqlBase
- Creates a base source class for SQL migration testing.
Namespace
Drupal\Tests\migrate\UnitCode
public function fields() {
throw new \RuntimeException(__METHOD__ . " not implemented for " . __CLASS__);
}
Buggy or inaccurate documentation? Please file an issue. Need support? Need help programming? Connect with the Drupal community.