You are here

public function TomTom::init in Geocoder 7.2

@inheritdoc

Overrides GeocoderPlugin::init

File

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

Class

TomTom
Class TomTom.

Namespace

Drupal\geocoder\Plugin\Geocoder\Provider

Code

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