function EntityTranslationSettings::fields
Same name in other branches
- 9 core/modules/content_translation/src/Plugin/migrate/source/d7/EntityTranslationSettings.php \Drupal\content_translation\Plugin\migrate\source\d7\EntityTranslationSettings::fields()
- 8.9.x core/modules/content_translation/src/Plugin/migrate/source/d7/EntityTranslationSettings.php \Drupal\content_translation\Plugin\migrate\source\d7\EntityTranslationSettings::fields()
- 10 core/modules/content_translation/src/Plugin/migrate/source/d7/EntityTranslationSettings.php \Drupal\content_translation\Plugin\migrate\source\d7\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'),
];
}
Buggy or inaccurate documentation? Please file an issue. Need support? Need help programming? Connect with the Drupal community.