function UserLangcode::create

Same name in other branches
  1. 9 core/modules/user/src/Plugin/migrate/process/UserLangcode.php \Drupal\user\Plugin\migrate\process\UserLangcode::create()
  2. 10 core/modules/user/src/Plugin/migrate/process/UserLangcode.php \Drupal\user\Plugin\migrate\process\UserLangcode::create()
  3. 11.x core/modules/user/src/Plugin/migrate/process/UserLangcode.php \Drupal\user\Plugin\migrate\process\UserLangcode::create()

Overrides ContainerFactoryPluginInterface::create

File

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

Class

UserLangcode
Provides a process plugin for the user langcode.

Namespace

Drupal\user\Plugin\migrate\process

Code

public static function create(ContainerInterface $container, array $configuration, $plugin_id, $plugin_definition) {
    return new static($configuration, $plugin_id, $plugin_definition, $container->get('language_manager'));
}

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