You are here

public function IpLookupForm::__construct in IP Geolocation Views & Maps 8

Create the form, adds dependency injection.

File

src/Form/IpLookupForm.php, line 19

Class

IpLookupForm
Pending doc.

Namespace

Drupal\ip_geoloc\Form

Code

public function __construct(ConfigFactoryInterface $config_factory, IpGeoLocAPI $ipGeolocApi) {
  parent::__construct($config_factory);
  $this->ipGeolocApi = $ipGeolocApi;
}