You are here

public function HostIp::init in Geocoder 7.2

@inheritdoc

Overrides GeocoderPlugin::init

File

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

Class

HostIp
Class HostIp.

Namespace

Drupal\geocoder\Plugin\Geocoder\Provider

Code

public function init() {
  $this
    ->setHandler(new \Geocoder\Provider\HostIp($this
    ->getAdapter()));
  return parent::init();
}