You are here

public function AdvbanSettingsForm::__construct in Advanced ban 8

Constructs a \Drupal\system\ConfigFormBase object.

Parameters

\Drupal\Core\Config\ConfigFactoryInterface $config_factory: The factory for configuration objects.

\Drupal\advban\AdvbanIpManagerInterface $ip_manager: Store AdvbanIpManagerInterface manager.

Overrides ConfigFormBase::__construct

File

src/Form/AdvbanSettingsForm.php, line 32

Class

AdvbanSettingsForm
Configure advban settings for this site.

Namespace

Drupal\advban\Form

Code

public function __construct(ConfigFactoryInterface $config_factory, AdvbanIpManagerInterface $ip_manager) {
  parent::__construct($config_factory);
  $this->ipManager = $ip_manager;
}