public function AddressText::__construct in Geocoder 8.3
Same name and namespace in other branches
- 8.2 src/Plugin/Geocoder/Dumper/AddressText.php \Drupal\geocoder\Plugin\Geocoder\Dumper\AddressText::__construct()
Constructs an AddressText Dumper.
Parameters
array $configuration: The configuration.
string $plugin_id: The plugin ID for the migration process to do.
mixed $plugin_definition: The configuration for the plugin.
\Drupal\geocoder\FormatterPluginManager $geocoder_formatter_plugin_manager: The geocoder formatter plugin manager service.
Throws
\Drupal\Component\Plugin\Exception\PluginException
Overrides PluginBase::__construct
File
- src/
Plugin/ Geocoder/ Dumper/ AddressText.php, line 48
Class
- AddressText
- Provides an address string geocoder dumper plugin.
Namespace
Drupal\geocoder\Plugin\Geocoder\DumperCode
public function __construct(array $configuration, $plugin_id, $plugin_definition, FormatterPluginManager $geocoder_formatter_plugin_manager) {
parent::__construct($configuration, $plugin_id, $plugin_definition);
$this->geocoderFormatterPluginManager = $geocoder_formatter_plugin_manager;
$this->geocoderFormatter = $this->geocoderFormatterPluginManager
->createInstance('default_formatted_address');
}