public function IpInfoDb::init in Geocoder 7.2
@inheritdoc
Overrides GeocoderPlugin::init
File
- src/
Plugin/ Geocoder/ Provider/ IpInfoDb.php, line 32 - The IpInfoDb plugin.
Class
- IpInfoDb
- Class IpInfoDb.
Namespace
Drupal\geocoder\Plugin\Geocoder\ProviderCode
public function init() {
$configuration = $this
->getConfiguration();
$this
->setHandler(new \Geocoder\Provider\IpInfoDb($this
->getAdapter(), $configuration['apiKey']));
return parent::init();
}