public function Address::__construct in Geocoder 8.3
Same name and namespace in other branches
- 8.2 modules/geocoder_address/src/Plugin/Geocoder/Preprocessor/Address.php \Drupal\geocoder_address\Plugin\Geocoder\Preprocessor\Address::__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.
\Drupal\geocoder_address\AddressService $address_service: The Geocoder Address service.
Overrides PreprocessorBase::__construct
File
- modules/
geocoder_address/ src/ Plugin/ Geocoder/ Preprocessor/ Address.php, line 44
Class
- Address
- Provides a geocoder preprocessor plugin for address fields.
Namespace
Drupal\geocoder_address\Plugin\Geocoder\PreprocessorCode
public function __construct(array $configuration, $plugin_id, $plugin_definition, CountryManagerInterface $country_manager, AddressService $address_service) {
parent::__construct($configuration, $plugin_id, $plugin_definition, $country_manager);
$this->addressService = $address_service;
}