You are here

public function GeoField::__construct in Geofield 8

Same name in this branch
  1. 8 src/Feeds/Target/Geofield.php \Drupal\geofield\Feeds\Target\Geofield::__construct()
  2. 8 src/Plugin/migrate/process/GeoField.php \Drupal\geofield\Plugin\migrate\process\GeoField::__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.

Overrides PluginBase::__construct

File

src/Plugin/migrate/process/GeoField.php, line 31

Class

GeoField
Maps D7 geofield values to new the geofield values.

Namespace

Drupal\geofield\Plugin\migrate\process

Code

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