Skip to main content
Drupal API
User account menu
  • Log in

Breadcrumb

  1. Drupal Core 11.1.x
  2. EntityTranslationSettings.php

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

Code

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'),
    ];
}

API Navigation

  • Drupal Core 11.1.x
  • Topics
  • Classes
  • Functions
  • Constants
  • Globals
  • Files
  • Namespaces
  • Deprecated
  • Services
RSS feed
Powered by Drupal