public function IpAnonSettings::__construct in IP Anonymize 8
Constructs an IpAnonSettings object.
Parameters
\Drupal\Core\Config\ConfigFactoryInterface $config_factory: The factory for configuration objects.
\Drupal\Core\Database\Connection $connection: The database connection.
\Drupal\Core\Datetime\DateFormatterInterface $date_formatter: The date formatter service.
Overrides ConfigFormBase::__construct
File
- src/
Form/ IpAnonSettings.php, line 43
Class
- IpAnonSettings
- Settings form for ip_anon module.
Namespace
Drupal\ip_anon\FormCode
public function __construct(ConfigFactoryInterface $config_factory, Connection $connection, DateFormatterInterface $date_formatter) {
parent::__construct($config_factory);
$this->connection = $connection;
$this->dateFormatter = $date_formatter;
}