public function Geocoder::__construct in Geolocation Field 8.3
Same name and namespace in other branches
- 8.2 src/Plugin/geolocation/LocationInput/Geocoder.php \Drupal\geolocation\Plugin\geolocation\LocationInput\Geocoder::__construct()
Geocoder constructor.
Parameters
array $configuration: Configuration.
string $plugin_id: Plugin ID.
mixed $plugin_definition: Plugin definition.
\Drupal\geolocation\GeocoderManager $geocoder_manager: Geocoder Manager.
Overrides PluginBase::__construct
File
- src/
Plugin/ geolocation/ LocationInput/ Geocoder.php, line 41
Class
- Geocoder
- Location based proximity center.
Namespace
Drupal\geolocation\Plugin\geolocation\LocationInputCode
public function __construct(array $configuration, $plugin_id, $plugin_definition, GeocoderManager $geocoder_manager) {
parent::__construct($configuration, $plugin_id, $plugin_definition);
$this->geocoderManager = $geocoder_manager;
}