function UserLangcode::__construct
Same name in other branches
- 8.9.x core/modules/user/src/Plugin/migrate/process/UserLangcode.php \Drupal\user\Plugin\migrate\process\UserLangcode::__construct()
- 10 core/modules/user/src/Plugin/migrate/process/UserLangcode.php \Drupal\user\Plugin\migrate\process\UserLangcode::__construct()
- 11.x core/modules/user/src/Plugin/migrate/process/UserLangcode.php \Drupal\user\Plugin\migrate\process\UserLangcode::__construct()
Constructs a UserLangcode object.
Parameters
array $configuration: Plugin configuration.
string $plugin_id: The plugin ID.
mixed $plugin_definition: The plugin definition.
\Drupal\Core\Language\LanguageManager $language_manager: The language manager service.
File
-
core/
modules/ user/ src/ Plugin/ migrate/ process/ UserLangcode.php, line 40
Class
- UserLangcode
- Provides a process plugin for the user langcode.
Namespace
Drupal\user\Plugin\migrate\processCode
public function __construct(array $configuration, $plugin_id, $plugin_definition, LanguageManager $language_manager) {
parent::__construct($configuration, $plugin_id, $plugin_definition);
$this->languageManager = $language_manager;
}
Buggy or inaccurate documentation? Please file an issue. Need support? Need help programming? Connect with the Drupal community.