function UserLangcode::__construct

Same name in this branch
  1. main core/modules/user/src/Plugin/migrate/process/UserLangcode.php \Drupal\user\Plugin\migrate\process\UserLangcode::__construct()
Same name and namespace in other branches
  1. 11.x core/modules/user/src/Plugin/migrate/process/UserLangcode.php \Drupal\user\Plugin\migrate\process\UserLangcode::__construct()
  2. 10 core/modules/user/src/Plugin/migrate/process/UserLangcode.php \Drupal\user\Plugin\migrate\process\UserLangcode::__construct()
  3. 9 core/modules/user/src/Plugin/migrate/process/UserLangcode.php \Drupal\user\Plugin\migrate\process\UserLangcode::__construct()
  4. 8.9.x core/modules/user/src/Plugin/migrate/process/UserLangcode.php \Drupal\user\Plugin\migrate\process\UserLangcode::__construct()
  5. 11.x core/modules/migrate/src/Plugin/migrate/process/UserLangcode.php \Drupal\migrate\Plugin\migrate\process\UserLangcode::__construct()

File

core/modules/migrate/src/Plugin/migrate/process/UserLangcode.php, line 19

Class

UserLangcode
Provides a process plugin for the user langcode.

Namespace

Drupal\migrate\Plugin\migrate\process

Code

public function __construct(array $configuration, $plugin_id, $plugin_definition, #[Autowire(service: 'language_manager')] protected LanguageManager $languageManager) {
  parent::__construct($configuration, $plugin_id, $plugin_definition);
}

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