You are here

public function ThemeSettings::fields in Drupal 9

Same name in this branch
  1. 9 core/modules/system/src/Plugin/migrate/source/d7/ThemeSettings.php \Drupal\system\Plugin\migrate\source\d7\ThemeSettings::fields()
  2. 9 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
  1. 8 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.

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\d7

Code

public function fields() {

  // Theme settings vary by theme, so no specific fields are defined.
  return [];
}