public function Config::fields in Drupal 8
Same name in this branch
- 8 core/modules/migrate/src/Plugin/migrate/destination/Config.php \Drupal\migrate\Plugin\migrate\destination\Config::fields()
- 8 core/modules/migrate_drupal/src/Plugin/migrate/source/d8/Config.php \Drupal\migrate_drupal\Plugin\migrate\source\d8\Config::fields()
Same name and namespace in other branches
- 9 core/modules/migrate_drupal/src/Plugin/migrate/source/d8/Config.php \Drupal\migrate_drupal\Plugin\migrate\source\d8\Config::fields()
- 10 core/modules/migrate_drupal/src/Plugin/migrate/source/d8/Config.php \Drupal\migrate_drupal\Plugin\migrate\source\d8\Config::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.
Overrides MigrateSourceInterface::fields
File
- core/
modules/ migrate_drupal/ src/ Plugin/ migrate/ source/ d8/ Config.php, line 43
Class
- Config
- Drupal config source from database.
Namespace
Drupal\migrate_drupal\Plugin\migrate\source\d8Code
public function fields() {
return [
'collection' => $this
->t('The config object collection.'),
'name' => $this
->t('The config object name.'),
'data' => $this
->t('Serialized configuration object data.'),
];
}