public function SettingsForm::__construct in General Data Protection Regulation 8
Same name and namespace in other branches
- 8.2 modules/gdpr_dump/src/Form/SettingsForm.php \Drupal\gdpr_dump\Form\SettingsForm::__construct()
- 3.0.x modules/gdpr_dump/src/Form/SettingsForm.php \Drupal\gdpr_dump\Form\SettingsForm::__construct()
SettingsForm constructor.
Parameters
\Drupal\Core\Config\ConfigFactoryInterface $configFactory: The config factory.
\Drupal\Core\Database\Connection $database: The database connection.
\Drupal\anonymizer\Anonymizer\AnonymizerPluginManager $pluginManager: The plugin manager for anonymizers.
\Drupal\gdpr_dump\Service\GdprDatabaseManager $gdprDatabaseManager: Database manager service.
Overrides ConfigFormBase::__construct
File
- modules/
gdpr_dump/ src/ Form/ SettingsForm.php, line 69
Class
- SettingsForm
- Class SettingsForm.
Namespace
Drupal\gdpr_dump\FormCode
public function __construct(ConfigFactoryInterface $configFactory, Connection $database, AnonymizerPluginManager $pluginManager, GdprDatabaseManager $gdprDatabaseManager) {
parent::__construct($configFactory);
$this->database = $database;
$this->pluginManager = $pluginManager;
$this->databaseManager = $gdprDatabaseManager;
}