public function LeafletControlGeocoder::__construct in Geolocation Field 8.2
Same name and namespace in other branches
- 8.3 modules/geolocation_leaflet/src/Plugin/geolocation/MapFeature/LeafletControlGeocoder.php \Drupal\geolocation_leaflet\Plugin\geolocation\MapFeature\LeafletControlGeocoder::__construct()
ControlCustomGeocoder constructor.
Parameters
array $configuration: Configuration.
string $plugin_id: Plugin ID.
mixed $plugin_definition: Plugin configuration.
\Drupal\geolocation\GeocoderManager $geocoder_manager: Geocoder manager.
Overrides PluginBase::__construct
File
- modules/
geolocation_leaflet/ src/ Plugin/ geolocation/ MapFeature/ LeafletControlGeocoder.php, line 39
Class
- LeafletControlGeocoder
- Provides Geocoder control element.
Namespace
Drupal\geolocation_leaflet\Plugin\geolocation\MapFeatureCode
public function __construct(array $configuration, $plugin_id, $plugin_definition, GeocoderManager $geocoder_manager) {
parent::__construct($configuration, $plugin_id, $plugin_definition);
$this->geocoderManager = $geocoder_manager;
}