You are here

public function Provider::__construct in Geocoder 7.2

GeocoderPlugin constructor.

Parameters

array $configuration:

string $plugin_id:

mixed $plugin_definition:

Overrides GeocoderPlugin::__construct

File

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

Class

Provider

Namespace

Drupal\geocoder\Plugin\Geocoder

Code

public function __construct($configuration, $plugin_id, $plugin_definition, HttpAdapterInterface $adapter, LoggerChannelInterface $logger_channel, MessengerInterface $messenger) {
  $this->loggerChannel = $logger_channel;
  $this->messenger = $messenger;
  $this->adapter = $adapter;
  parent::__construct($configuration, $plugin_id, $plugin_definition);
}