function UserData::__construct
Same name in this branch
- 10 core/modules/user/src/Plugin/views/field/UserData.php \Drupal\user\Plugin\views\field\UserData::__construct()
- 10 core/modules/user/src/UserData.php \Drupal\user\UserData::__construct()
Same name in other branches
- 9 core/modules/user/src/Plugin/views/field/UserData.php \Drupal\user\Plugin\views\field\UserData::__construct()
- 9 core/modules/user/src/Plugin/migrate/destination/UserData.php \Drupal\user\Plugin\migrate\destination\UserData::__construct()
- 9 core/modules/user/src/UserData.php \Drupal\user\UserData::__construct()
- 8.9.x core/modules/user/src/Plugin/views/field/UserData.php \Drupal\user\Plugin\views\field\UserData::__construct()
- 8.9.x core/modules/user/src/Plugin/migrate/destination/UserData.php \Drupal\user\Plugin\migrate\destination\UserData::__construct()
- 8.9.x core/modules/user/src/UserData.php \Drupal\user\UserData::__construct()
- 11.x core/modules/user/src/Plugin/views/field/UserData.php \Drupal\user\Plugin\views\field\UserData::__construct()
- 11.x core/modules/user/src/Plugin/migrate/destination/UserData.php \Drupal\user\Plugin\migrate\destination\UserData::__construct()
- 11.x core/modules/user/src/UserData.php \Drupal\user\UserData::__construct()
Builds a user data entity destination.
Parameters
array $configuration: A configuration array containing information about the plugin instance.
string $plugin_id: The plugin_id for the plugin instance.
mixed $plugin_definition: The plugin implementation definition.
\Drupal\migrate\Plugin\MigrationInterface $migration: The migration.
\Drupal\user\UserData $user_data: The user data service.
Overrides DestinationBase::__construct
File
-
core/
modules/ user/ src/ Plugin/ migrate/ destination/ UserData.php, line 38
Class
- UserData
- Migration destination for user data.
Namespace
Drupal\user\Plugin\migrate\destinationCode
public function __construct(array $configuration, $plugin_id, $plugin_definition, MigrationInterface $migration, UserDataStorage $user_data) {
parent::__construct($configuration, $plugin_id, $plugin_definition, $migration);
$this->userData = $user_data;
}
Buggy or inaccurate documentation? Please file an issue. Need support? Need help programming? Connect with the Drupal community.