function MigrateDestinationInterface::fields
Same name in other branches
- 9 core/modules/migrate/src/Plugin/MigrateDestinationInterface.php \Drupal\migrate\Plugin\MigrateDestinationInterface::fields()
- 8.9.x core/modules/migrate/src/Plugin/MigrateDestinationInterface.php \Drupal\migrate\Plugin\MigrateDestinationInterface::fields()
- 10 core/modules/migrate/src/Plugin/MigrateDestinationInterface.php \Drupal\migrate\Plugin\MigrateDestinationInterface::fields()
Returns an array of destination fields.
Derived classes must implement fields(), returning a list of available destination fields.
Return value
array
- Keys: machine names of the fields
- Values: Human-friendly descriptions of the fields.
10 methods override MigrateDestinationInterface::fields()
- BlockedIp::fields in core/
modules/ ban/ src/ Plugin/ migrate/ destination/ BlockedIp.php - Returns an array of destination fields.
- ComponentEntityDisplayBase::fields in core/
modules/ migrate/ src/ Plugin/ migrate/ destination/ ComponentEntityDisplayBase.php - Returns an array of destination fields.
- Config::fields in core/
modules/ migrate/ src/ Plugin/ migrate/ destination/ Config.php - Returns an array of destination fields.
- DummyDestination::fields in core/
modules/ migrate/ tests/ modules/ migrate_events_test/ src/ Plugin/ migrate/ destination/ DummyDestination.php - Returns an array of destination fields.
- Entity::fields in core/
modules/ migrate/ src/ Plugin/ migrate/ destination/ Entity.php - Returns an array of destination fields.
File
-
core/
modules/ migrate/ src/ Plugin/ MigrateDestinationInterface.php, line 90
Class
- MigrateDestinationInterface
- Defines an interface for Migration Destination classes.
Namespace
Drupal\migrate\PluginCode
public function fields();
Buggy or inaccurate documentation? Please file an issue. Need support? Need help programming? Connect with the Drupal community.