public function LanguageContentSettings::fields in Drupal 10
Same name in this branch
- 10 core/modules/language/src/Plugin/migrate/source/d6/LanguageContentSettings.php \Drupal\language\Plugin\migrate\source\d6\LanguageContentSettings::fields()
- 10 core/modules/language/src/Plugin/migrate/source/d7/LanguageContentSettings.php \Drupal\language\Plugin\migrate\source\d7\LanguageContentSettings::fields()
Same name and namespace in other branches
- 8 core/modules/language/src/Plugin/migrate/source/d7/LanguageContentSettings.php \Drupal\language\Plugin\migrate\source\d7\LanguageContentSettings::fields()
- 9 core/modules/language/src/Plugin/migrate/source/d7/LanguageContentSettings.php \Drupal\language\Plugin\migrate\source\d7\LanguageContentSettings::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/ language/ src/ Plugin/ migrate/ source/ d7/ LanguageContentSettings.php, line 36
Class
- LanguageContentSettings
- Drupal 7 i18n node settings from database.
Namespace
Drupal\language\Plugin\migrate\source\d7Code
public function fields() {
$fields = [
'type' => $this
->t('Type'),
'language_content_type' => $this
->t('Multilingual support.'),
'i18n_lock_node' => $this
->t('Lock language.'),
];
return $fields;
}