You are here

public function MapQuest::init in Geocoder 7.2

@inheritdoc

Overrides GeocoderPlugin::init

File

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

Class

MapQuest
Class MapQuest.

Namespace

Drupal\geocoder\Plugin\Geocoder\Provider

Code

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