function MigrateSourceInterface::fields
Same name in other branches
- 9 core/modules/migrate/src/Plugin/MigrateSourceInterface.php \Drupal\migrate\Plugin\MigrateSourceInterface::fields()
- 8.9.x core/modules/migrate/src/Plugin/MigrateSourceInterface.php \Drupal\migrate\Plugin\MigrateSourceInterface::fields()
- 11.x core/modules/migrate/src/Plugin/MigrateSourceInterface.php \Drupal\migrate\Plugin\MigrateSourceInterface::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.
87 methods override MigrateSourceInterface::fields()
- Action::fields in core/
modules/ system/ src/ Plugin/ migrate/ source/ Action.php - Returns available fields on the source.
- Block::fields in core/
modules/ block/ src/ Plugin/ migrate/ source/ Block.php - Returns available fields on the source.
- BlockCustom::fields in core/
modules/ block_content/ src/ Plugin/ migrate/ source/ d7/ BlockCustom.php - Returns available fields on the source.
- BlockCustomTranslation::fields in core/
modules/ block_content/ src/ Plugin/ migrate/ source/ d7/ BlockCustomTranslation.php - Returns available fields on the source.
- BlockedIps::fields in core/
modules/ ban/ src/ Plugin/ migrate/ source/ d7/ BlockedIps.php - Returns available fields on the source.
File
-
core/
modules/ migrate/ src/ Plugin/ MigrateSourceInterface.php, line 32
Class
- MigrateSourceInterface
- Defines an interface for migrate sources.
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.