function EntityTranslationSettings::fields
Overrides MigrateSourceInterface::fields
File
-
core/
modules/ content_translation/ src/ Plugin/ migrate/ source/ d7/ EntityTranslationSettings.php, line 174
Class
- EntityTranslationSettings
- Drupal 7 Entity Translation settings (variables) from database.
Namespace
Drupal\content_translation\Plugin\migrate\source\d7Code
public function fields() {
return [
'id' => $this->t('The configuration ID'),
'target_entity_type_id' => $this->t('The target entity type ID'),
'target_bundle' => $this->t('The target bundle'),
'default_langcode' => $this->t('The default language'),
'language_alterable' => $this->t('Whether to show language selector on create and edit pages'),
'untranslatable_fields_hide' => $this->t('Whether to hide non translatable fields on translation forms'),
];
}