You are here

public function BingMaps::init in Geocoder 7.2

@inheritdoc

Overrides GeocoderPlugin::init

File

src/Plugin/Geocoder/Provider/BingMaps.php, line 32
The BingMaps plugin.

Class

BingMaps
Class BingMaps.

Namespace

Drupal\geocoder\Plugin\Geocoder\Provider

Code

public function init() {
  $configuration = $this
    ->getConfiguration();
  $this
    ->setHandler(new \Geocoder\Provider\BingMaps($this
    ->getAdapter(), $configuration['apiKey']));
  return parent::init();
}