You are here

public function Geometry::__construct in Geocoder 8.3

Same name in this branch
  1. 8.3 modules/geocoder_geofield/src/Geocoder/Dumper/Geometry.php \Drupal\geocoder_geofield\Geocoder\Dumper\Geometry::__construct()
  2. 8.3 modules/geocoder_geofield/src/Plugin/Geocoder/Dumper/Geometry.php \Drupal\geocoder_geofield\Plugin\Geocoder\Dumper\Geometry::__construct()
Same name and namespace in other branches
  1. 8.2 modules/geocoder_geofield/src/Plugin/Geocoder/Dumper/Geometry.php \Drupal\geocoder_geofield\Plugin\Geocoder\Dumper\Geometry::__construct()

Constructs a Drupal\Component\Plugin\PluginBase object.

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\geofield\GeoPHP\GeoPHPInterface $geophp: The geophp service.

Overrides PluginBase::__construct

File

modules/geocoder_geofield/src/Plugin/Geocoder/Dumper/Geometry.php, line 40

Class

Geometry
Provides a Geometry geocoder dumper plugin.

Namespace

Drupal\geocoder_geofield\Plugin\Geocoder\Dumper

Code

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