function LanguageContentSettings::fields

Same name in this branch
  1. 9 core/modules/language/src/Plugin/migrate/source/d6/LanguageContentSettings.php \Drupal\language\Plugin\migrate\source\d6\LanguageContentSettings::fields()
Same name in other branches
  1. 8.9.x core/modules/language/src/Plugin/migrate/source/d6/LanguageContentSettings.php \Drupal\language\Plugin\migrate\source\d6\LanguageContentSettings::fields()
  2. 8.9.x core/modules/language/src/Plugin/migrate/source/d7/LanguageContentSettings.php \Drupal\language\Plugin\migrate\source\d7\LanguageContentSettings::fields()
  3. 10 core/modules/language/src/Plugin/migrate/source/d6/LanguageContentSettings.php \Drupal\language\Plugin\migrate\source\d6\LanguageContentSettings::fields()
  4. 10 core/modules/language/src/Plugin/migrate/source/d7/LanguageContentSettings.php \Drupal\language\Plugin\migrate\source\d7\LanguageContentSettings::fields()
  5. 11.x core/modules/language/src/Plugin/migrate/source/d6/LanguageContentSettings.php \Drupal\language\Plugin\migrate\source\d6\LanguageContentSettings::fields()
  6. 11.x core/modules/language/src/Plugin/migrate/source/d7/LanguageContentSettings.php \Drupal\language\Plugin\migrate\source\d7\LanguageContentSettings::fields()

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

Code

public function fields() {
    $fields = [
        'type' => $this->t('Type'),
        'language_content_type' => $this->t('Multilingual support.'),
        'i18n_lock_node' => $this->t('Lock language.'),
    ];
    return $fields;
}

Buggy or inaccurate documentation? Please file an issue. Need support? Need help programming? Connect with the Drupal community.