You are here

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

Same name in this branch
  1. 8 src/Plugin/views/argument/IpGeoLocPluginArgDefaultIPGeoLoc.php \Drupal\ip_geoloc\Plugin\views\argument\IpGeoLocPluginStyleMap::__construct()
  2. 8 src/Plugin/views/style/IpGeoLocPluginStyleMap.php \Drupal\ip_geoloc\Plugin\views\style\IpGeoLocPluginStyleMap::__construct()

Plugin base constructor for dependency injection.

Overrides PluginBase::__construct

File

src/Plugin/views/style/IpGeoLocPluginStyleMap.php, line 49

Class

IpGeoLocPluginStyleMap
Views Style plugin extension for Map.

Namespace

Drupal\ip_geoloc\Plugin\views\style

Code

public function __construct(array $configuration, $plugin_id, $plugin_definition, IpGeoLocAPI $api, ModuleHandler $module_handler, IpGeoLocGlobal $ip_geoloc_global, TranslationManager $string_translation, IpGeoLocSession $ip_geoloc_session, IpGeoLocViewsPluginStyle $ip_geoloc_view_plugin_style, RequestStack $request_stack) {
  parent::__construct($configuration, $plugin_id, $plugin_definition);
  $this->api = $api;
  $this->module_handler = $module_handler;
  $this->ip_geoloc_global = $ip_geoloc_global;
  $this->string_translation = $string_translation;
  $this->session = $ip_geoloc_session;
  $this->view_plugin_style = $ip_geoloc_view_plugin_style;
  $this->request_stack = $request_stack;
}