public function ThemeSettings::fields in Drupal 8
Same name in this branch
- 8 core/modules/system/src/Plugin/migrate/source/d7/ThemeSettings.php \Drupal\system\Plugin\migrate\source\d7\ThemeSettings::fields()
- 8 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
- 9 core/modules/system/src/Plugin/migrate/destination/d7/ThemeSettings.php \Drupal\system\Plugin\migrate\destination\d7\ThemeSettings::fields()
Returns an array of destination fields.
Derived classes must implement fields(), returning a list of available destination fields.
Parameters
\Drupal\migrate\Plugin\MigrationInterface $migration: Unused, will be removed before Drupal 9.0.x. Defaults to NULL.
Return value
array
- Keys: machine names of the fields
- Values: Human-friendly descriptions of the fields.
Overrides MigrateDestinationInterface::fields
File
- core/
modules/ system/ src/ Plugin/ migrate/ destination/ d7/ ThemeSettings.php, line 89
Class
- ThemeSettings
- Persist theme settings to the config system.
Namespace
Drupal\system\Plugin\migrate\destination\d7Code
public function fields(MigrationInterface $migration = NULL) {
// Theme settings vary by theme, so no specific fields are defined.
return [];
}