public function ThemeSettings::fields in Drupal 10
Same name in this branch
- 10 core/modules/system/src/Plugin/migrate/source/d7/ThemeSettings.php \Drupal\system\Plugin\migrate\source\d7\ThemeSettings::fields()
- 10 core/modules/system/src/Plugin/migrate/destination/d7/ThemeSettings.php \Drupal\system\Plugin\migrate\destination\d7\ThemeSettings::fields()
Same name and namespace in other branches
- 8 core/modules/system/src/Plugin/migrate/source/d7/ThemeSettings.php \Drupal\system\Plugin\migrate\source\d7\ThemeSettings::fields()
- 9 core/modules/system/src/Plugin/migrate/source/d7/ThemeSettings.php \Drupal\system\Plugin\migrate\source\d7\ThemeSettings::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 VariableMultiRow::fields
File
- core/
modules/ system/ src/ Plugin/ migrate/ source/ d7/ ThemeSettings.php, line 35
Class
- ThemeSettings
- Drupal 7 theme settings source from database.
Namespace
Drupal\system\Plugin\migrate\source\d7Code
public function fields() {
return [
'name' => $this
->t('Theme settings variable for a theme.'),
'value' => $this
->t('The theme settings variable value.'),
];
}