You are here

public function Provider::setHandler in Geocoder 7.2

The Geocoder Provider.

Parameters

\Geocoder\Provider\Provider $handler: The Geocoder provider.

Return value

ProviderInterface The plugin provider.

Overrides ProviderInterface::setHandler

17 calls to Provider::setHandler()
ArcGISOnline::init in src/Plugin/Geocoder/Provider/ArcGISOnline.php
@inheritdoc
BingMaps::init in src/Plugin/Geocoder/Provider/BingMaps.php
@inheritdoc
File::init in src/Plugin/Geocoder/Provider/File.php
@inheritdoc
FreeGeoIp::init in src/Plugin/Geocoder/Provider/FreeGeoIp.php
@inheritdoc
Geoip::init in src/Plugin/Geocoder/Provider/Geoip.php
@inheritdoc

... See full list

File

src/Plugin/Geocoder/Provider.php, line 60
Contains \Drupal\geocoder\Plugin\Geocoder\Provider.

Class

Provider

Namespace

Drupal\geocoder\Plugin\Geocoder

Code

public function setHandler(\Geocoder\Provider\Provider $handler) {
  $this->handler = $handler;
  return $this;
}