public function PasswordAnonymizer::__construct in General Data Protection Regulation 3.0.x
Same name and namespace in other branches
- 8.2 modules/anonymizer/src/Plugin/Anonymizer/PasswordAnonymizer.php \Drupal\anonymizer\Plugin\Anonymizer\PasswordAnonymizer::__construct()
- 8 modules/anonymizer/src/Plugin/Anonymizer/PasswordAnonymizer.php \Drupal\anonymizer\Plugin\Anonymizer\PasswordAnonymizer::__construct()
PasswordAnonymizer constructor.
Parameters
array $configuration: The plugin configuration.
string $plugin_id: The plugin ID.
mixed $plugin_definition: The plugin definition.
\Drupal\Core\Password\PasswordInterface $password: The password service.
\Drupal\anonymizer\Service\FakerServiceInterface $faker: The faker service.
Overrides AnonymizerBase::__construct
File
- modules/
anonymizer/ src/ Plugin/ Anonymizer/ PasswordAnonymizer.php, line 66
Class
- PasswordAnonymizer
- Class PasswordAnonymizer.
Namespace
Drupal\anonymizer\Plugin\AnonymizerCode
public function __construct(array $configuration, $plugin_id, $plugin_definition, PasswordInterface $password, FakerServiceInterface $faker) {
parent::__construct($configuration, $plugin_id, $plugin_definition, $faker);
$this->password = $password;
}