public function Authmap::__construct in External Authentication 8
Same name in this branch
- 8 src/Authmap.php \Drupal\externalauth\Authmap::__construct()
- 8 src/Plugin/migrate/destination/Authmap.php \Drupal\externalauth\Plugin\migrate\destination\Authmap::__construct()
Same name and namespace in other branches
- 2.0.x src/Plugin/migrate/destination/Authmap.php \Drupal\externalauth\Plugin\migrate\destination\Authmap::__construct()
Constructs an entity destination plugin.
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\externalauth\AuthmapInterface $authmap: The Authmap handling class.
\Drupal\user\UserStorageInterface $user_storage: The user storage.
Overrides DestinationBase::__construct
File
- src/
Plugin/ migrate/ destination/ Authmap.php, line 52
Class
- Authmap
- Drupal 8 authmap destination.
Namespace
Drupal\externalauth\Plugin\migrate\destinationCode
public function __construct(array $configuration, $plugin_id, $plugin_definition, MigrationInterface $migration, AuthmapInterface $authmap, UserStorageInterface $user_storage) {
parent::__construct($configuration, $plugin_id, $plugin_definition, $migration);
$this->authmap = $authmap;
$this->userStorage = $user_storage;
}