You are here

public function Password::__construct in Feeds 8.3

Constructs a new Password object.

Parameters

array $configuration: The plugin configuration.

string $plugin_id: The plugin id.

array $plugin_definition: The plugin definition.

\Drupal\Core\Password\PasswordInterface $password_hasher: The password hash service.

Overrides FieldTargetBase::__construct

File

src/Feeds/Target/Password.php, line 59

Class

Password
Defines a password field mapper.

Namespace

Drupal\feeds\Feeds\Target

Code

public function __construct(array $configuration, $plugin_id, array $plugin_definition, PasswordInterface $password_hasher) {
  parent::__construct($configuration, $plugin_id, $plugin_definition);
  $this->passwordHasher = $password_hasher;
}