GoogleMapsBusiness.php in Geocoder 8.3
File
src/Plugin/Geocoder/Provider/GoogleMapsBusiness.php
View source
<?php
namespace Drupal\geocoder\Plugin\Geocoder\Provider;
use Drupal\geocoder\ConfigurableProviderUsingHandlerWithAdapterBase;
use Geocoder\Provider\GoogleMaps\GoogleMaps;
class GoogleMapsBusiness extends ConfigurableProviderUsingHandlerWithAdapterBase {
protected function getHandler() {
if ($this->handler === NULL) {
$this->handler = GoogleMaps::business($this->httpAdapter, $this->configuration['clientId'], $this->configuration['privateKey'], $this->configuration['region'], $this->configuration['apiKey'], $this->configuration['channel']);
}
return $this->handler;
}
}