function MigrateMissingDatabaseSource::fields
Same name in other branches
- 10 core/modules/migrate/tests/modules/migrate_missing_database_test/src/Plugin/migrate/source/MigrateMissingDatabaseSource.php \Drupal\migrate_missing_database_test\Plugin\migrate\source\MigrateMissingDatabaseSource::fields()
Overrides MigrateSourceInterface::fields
File
-
core/
modules/ migrate/ tests/ modules/ migrate_missing_database_test/ src/ Plugin/ migrate/ source/ MigrateMissingDatabaseSource.php, line 35
Class
- MigrateMissingDatabaseSource
- A simple migrate source for the missing database tests.
Namespace
Drupal\migrate_missing_database_test\Plugin\migrate\sourceCode
public function fields() : array {
$fields = [
'id' => $this->t('ID'),
];
return $fields;
}
Buggy or inaccurate documentation? Please file an issue. Need support? Need help programming? Connect with the Drupal community.