You are here

public function AnonymizerBase::__construct in General Data Protection Regulation 8.2

Same name and namespace in other branches
  1. 8 modules/anonymizer/src/Anonymizer/AnonymizerBase.php \Drupal\anonymizer\Anonymizer\AnonymizerBase::__construct()
  2. 3.0.x modules/anonymizer/src/Anonymizer/AnonymizerBase.php \Drupal\anonymizer\Anonymizer\AnonymizerBase::__construct()

PasswordAnonymizer constructor.

Parameters

array $configuration: The plugin configuration.

string $plugin_id: The plugin ID.

mixed $plugin_definition: The plugin definition.

\Drupal\anonymizer\Service\FakerServiceInterface $faker: The faker service.

Overrides PluginBase::__construct

1 call to AnonymizerBase::__construct()
PasswordAnonymizer::__construct in modules/anonymizer/src/Plugin/Anonymizer/PasswordAnonymizer.php
PasswordAnonymizer constructor.
1 method overrides AnonymizerBase::__construct()
PasswordAnonymizer::__construct in modules/anonymizer/src/Plugin/Anonymizer/PasswordAnonymizer.php
PasswordAnonymizer constructor.

File

modules/anonymizer/src/Anonymizer/AnonymizerBase.php, line 68

Class

AnonymizerBase
Class AnonymizerBase.

Namespace

Drupal\anonymizer\Anonymizer

Code

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