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()

Constructs a Handler object.

Overrides HandlerBase::__construct

File

src/Plugin/views/argument/IpGeoLocPluginArgDefaultIPGeoLoc.php, line 23

Class

IpGeoLocPluginStyleMap
Default argument plugin to extract a user via menu_get_object.

Namespace

Drupal\ip_geoloc\Plugin\views\argument

Code

public function __construct(array $configuration, $plugin_id, $plugin_definition, IpGeoLocAPI $api) {
  parent::__construct($configuration, $plugin_id, $plugin_definition);
  $this->is_handler = TRUE;
  $this->api = $api;
}