function NoSourceModule::fields

Same name in other branches
  1. 9 core/modules/migrate_drupal_ui/tests/modules/migration_provider_test/src/Plugin/migrate/source/NoSourceModule.php \Drupal\migration_provider_test\Plugin\migrate\source\NoSourceModule::fields()
  2. 8.9.x core/modules/migrate_drupal_ui/tests/modules/migration_provider_test/src/Plugin/migrate/source/NoSourceModule.php \Drupal\migration_provider_test\Plugin\migrate\source\NoSourceModule::fields()
  3. 11.x core/modules/migrate_drupal_ui/tests/modules/migration_provider_test/src/Plugin/migrate/source/NoSourceModule.php \Drupal\migration_provider_test\Plugin\migrate\source\NoSourceModule::fields()

Overrides MigrateSourceInterface::fields

File

core/modules/migrate_drupal_ui/tests/modules/migration_provider_test/src/Plugin/migrate/source/NoSourceModule.php, line 26

Class

NoSourceModule
A test source plugin without a source_module.

Namespace

Drupal\migration_provider_test\Plugin\migrate\source

Code

public function fields() {
    throw new \BadMethodCallException('This method should never be called');
}

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