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