public function RoleSettingsForm::__construct in Restrict Login or Role Access by IP Address 8.4
Constructs a \Drupal\system\ConfigFormBase object.
Parameters
\Drupal\Core\Config\ConfigFactoryInterface $config_factory: The factory for configuration objects.
Overrides ConfigFormBase::__construct
File
- src/
Form/ RoleSettingsForm.php, line 21
Class
- RoleSettingsForm
- Class RoleSettingsForm.
Namespace
Drupal\restrict_by_ip\FormCode
public function __construct(IPToolsInterface $ip_tools) {
$this->ip_tools = $ip_tools;
}