You are here

public function LeafletControlGeocoder::__construct in Geolocation Field 8.3

Same name and namespace in other branches
  1. 8.2 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\MapFeature

Code

public function __construct(array $configuration, $plugin_id, $plugin_definition, GeocoderManager $geocoder_manager) {
  parent::__construct($configuration, $plugin_id, $plugin_definition);
  $this->geocoderManager = $geocoder_manager;
}