function 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 83
Class
- Config
- Drupal 8+ configuration 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.'),
];
}
Buggy or inaccurate documentation? Please file an issue. Need support? Need help programming? Connect with the Drupal community.