function ConfigEntity::fields
Same name and namespace in other branches
- 11.x core/modules/migrate/src/Plugin/migrate/source/ConfigEntity.php \Drupal\migrate\Plugin\migrate\source\ConfigEntity::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/ src/ Plugin/ migrate/ source/ ConfigEntity.php, line 82
Class
- ConfigEntity
- Drupal configuration source from database.
Namespace
Drupal\migrate\Plugin\migrate\sourceCode
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.