You are here

public function DataProviderBase::__construct in Geolocation Field 8.3

Same name and namespace in other branches
  1. 8.2 src/DataProviderBase.php \Drupal\geolocation\DataProviderBase::__construct()

Constructs a new GeocoderBase 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\Core\Entity\EntityFieldManagerInterface $entity_field_manager: Entity type manager.

Overrides PluginBase::__construct

1 call to DataProviderBase::__construct()
AddressFieldProvider::__construct in modules/geolocation_address/src/Plugin/geolocation/DataProvider/AddressFieldProvider.php
AddressFieldProvider constructor.
1 method overrides DataProviderBase::__construct()
AddressFieldProvider::__construct in modules/geolocation_address/src/Plugin/geolocation/DataProvider/AddressFieldProvider.php
AddressFieldProvider constructor.

File

src/DataProviderBase.php, line 56

Class

DataProviderBase
Class DataProviderBase.

Namespace

Drupal\geolocation

Code

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