You are here

public function TestDrupalSqlBase::fields in Drupal 10

Same name and namespace in other branches
  1. 8 core/modules/migrate_drupal/tests/src/Unit/source/DrupalSqlBaseTest.php \Drupal\Tests\migrate_drupal\Unit\source\TestDrupalSqlBase::fields()
  2. 9 core/modules/migrate_drupal/tests/src/Unit/source/DrupalSqlBaseTest.php \Drupal\Tests\migrate_drupal\Unit\source\TestDrupalSqlBase::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_drupal/tests/src/Unit/source/DrupalSqlBaseTest.php, line 179

Class

TestDrupalSqlBase
Extends the DrupalSqlBase abstract class.

Namespace

Drupal\Tests\migrate_drupal\Unit\source

Code

public function fields() {
  return [];
}