You are here

public function PreprocessorBase::__construct in Geocoder 8.3

Same name and namespace in other branches
  1. 8.2 modules/geocoder_field/src/PreprocessorBase.php \Drupal\geocoder_field\PreprocessorBase::__construct()

PreprocessorBase constructor.

Parameters

array $configuration: A configuration array containing information about the plugin instance.

string $plugin_id: The plugin_id for the plugin instance.

mixed $plugin_definition: The plugin implementation definition.

\Drupal\Core\Locale\CountryManagerInterface $country_manager: The Country Manager service.

Overrides PluginBase::__construct

2 calls to PreprocessorBase::__construct()
Address::__construct in modules/geocoder_address/src/Plugin/Geocoder/Preprocessor/Address.php
PreprocessorBase constructor.
File::__construct in modules/geocoder_field/src/Plugin/Geocoder/Preprocessor/File.php
Constructs a geocoder file field preprocessor constructor.
2 methods override PreprocessorBase::__construct()
Address::__construct in modules/geocoder_address/src/Plugin/Geocoder/Preprocessor/Address.php
PreprocessorBase constructor.
File::__construct in modules/geocoder_field/src/Plugin/Geocoder/Preprocessor/File.php
Constructs a geocoder file field preprocessor constructor.

File

modules/geocoder_field/src/PreprocessorBase.php, line 42

Class

PreprocessorBase
Base class for the Preprocessor plugin.

Namespace

Drupal\geocoder_field

Code

public function __construct(array $configuration, $plugin_id, $plugin_definition, CountryManagerInterface $country_manager) {
  parent::__construct($configuration, $plugin_id, $plugin_definition);
  $this->countryManager = $country_manager;
}