public function VariableMultiRow::fields in Drupal 10
Same name and namespace in other branches
- 8 core/modules/migrate_drupal/src/Plugin/migrate/source/VariableMultiRow.php \Drupal\migrate_drupal\Plugin\migrate\source\VariableMultiRow::fields()
- 9 core/modules/migrate_drupal/src/Plugin/migrate/source/VariableMultiRow.php \Drupal\migrate_drupal\Plugin\migrate\source\VariableMultiRow::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
1 method overrides VariableMultiRow::fields()
- ThemeSettings::fields in core/
modules/ system/ src/ Plugin/ migrate/ source/ d7/ ThemeSettings.php - Returns available fields on the source.
File
- core/
modules/ migrate_drupal/ src/ Plugin/ migrate/ source/ VariableMultiRow.php, line 57
Class
- VariableMultiRow
- Drupal 6/7 multiple variables source from database.
Namespace
Drupal\migrate_drupal\Plugin\migrate\sourceCode
public function fields() {
return [
'name' => $this
->t('Name'),
'value' => $this
->t('Value'),
];
}