function StubSourcePlugin::fields

Same name in other branches
  1. 8.9.x core/modules/migrate/tests/src/Unit/MigrateSourceTest.php \Drupal\Tests\migrate\Unit\StubSourcePlugin::fields()
  2. 10 core/modules/migrate/tests/src/Unit/MigrateSourceTest.php \Drupal\Tests\migrate\Unit\StubSourcePlugin::fields()
  3. 11.x core/modules/migrate/tests/src/Unit/StubSourcePlugin.php \Drupal\Tests\migrate\Unit\StubSourcePlugin::fields()

Overrides MigrateSourceInterface::fields

File

core/modules/migrate/tests/src/Unit/MigrateSourceTest.php, line 474

Class

StubSourcePlugin
Stubbed source plugin for testing base class implementations.

Namespace

Drupal\Tests\migrate\Unit

Code

public function fields() {
    return [];
}

Buggy or inaccurate documentation? Please file an issue. Need support? Need help programming? Connect with the Drupal community.