function MigrateMissingDatabaseSource::fields

Same name in other branches
  1. 11.x 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 33

Class

MigrateMissingDatabaseSource
A simple migrate source for the missing database tests.

Namespace

Drupal\migrate_missing_database_test\Plugin\migrate\source

Code

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.