public function AutobanSettingsForm::__construct in Automatic IP ban (Autoban) 8
Construct the AutobanSettingsForm.
Parameters
\Drupal\Core\Config\ConfigFactoryInterface $config_factory: The factory for configuration objects.
\Drupal\autoban\Controller\AutobanController $autoban: Autoban object.
Overrides ConfigFormBase::__construct
File
- src/
Form/ AutobanSettingsForm.php, line 31
Class
- AutobanSettingsForm
- Configure autoban settings for this site.
Namespace
Drupal\autoban\FormCode
public function __construct(ConfigFactoryInterface $config_factory, AutobanController $autoban) {
parent::__construct($config_factory);
$this->autoban = $autoban;
}