function DummyDestination::fields

Same name in other branches
  1. 9 core/modules/migrate/tests/modules/migrate_events_test/src/Plugin/migrate/destination/DummyDestination.php \Drupal\migrate_events_test\Plugin\migrate\destination\DummyDestination::fields()
  2. 10 core/modules/migrate/tests/modules/migrate_events_test/src/Plugin/migrate/destination/DummyDestination.php \Drupal\migrate_events_test\Plugin\migrate\destination\DummyDestination::fields()
  3. 11.x core/modules/migrate/tests/modules/migrate_events_test/src/Plugin/migrate/destination/DummyDestination.php \Drupal\migrate_events_test\Plugin\migrate\destination\DummyDestination::fields()

Overrides MigrateDestinationInterface::fields

File

core/modules/migrate/tests/modules/migrate_events_test/src/Plugin/migrate/destination/DummyDestination.php, line 28

Class

DummyDestination
Plugin annotation @MigrateDestination( id = "dummy", requirements_met = true )

Namespace

Drupal\migrate_events_test\Plugin\migrate\destination

Code

public function fields(MigrationInterface $migration = NULL) {
    return [
        'value' => 'Dummy value',
    ];
}

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