You are here

public function IpGeoLocViewsPluginStyle::__construct in IP Geolocation Views & Maps 8

Constructs a new IpGeoLocGlobal object.

File

src/Services/IpGeoLocViewsPluginStyle.php, line 42

Class

IpGeoLocViewsPluginStyle
Class IpGeoLocViewsPluginStyle.

Namespace

Drupal\ip_geoloc\Services

Code

public function __construct(TranslationInterface $stringTranslation, MessengerInterface $messenger, IpGeoLocGlobal $ipGeolocGlobal, ConfigFactoryInterface $config_factory, Renderer $renderer) {
  $this->stringTranslation = $stringTranslation;
  $this->messenger = $messenger;
  $this->ipGeolocGlobal = $ipGeolocGlobal;
  $this->config = $config_factory
    ->getEditable('ip_geoloc.settings');
  $this->renderer = $renderer;
}