public function GeofieldBackendBase::__construct in Geofield 8
Constructs the GeofieldBackendDefault.
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\geofield\GeoPHP\GeoPHPInterface $geophp_wrapper: The geoPhpWrapper.
Overrides PluginBase::__construct
File
- src/
Plugin/ GeofieldBackendBase.php, line 48
Class
- GeofieldBackendBase
- Defines a base class for geofield backends.
Namespace
Drupal\geofield\PluginCode
public function __construct(array $configuration, $plugin_id, $plugin_definition, GeoPHPInterface $geophp_wrapper) {
parent::__construct($configuration, $plugin_id, $plugin_definition);
$this->geoPhpWrapper = $geophp_wrapper;
}