You are here

public function Nominatim::init in Geocoder 7.2

@inheritdoc

Overrides GeocoderPlugin::init

File

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

Class

Nominatim
Class Nominatim.

Namespace

Drupal\geocoder\Plugin\Geocoder\Provider

Code

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