You are here

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

Overrides BlockPluginTrait::__construct

File

src/Plugin/Block/CurrentVisitorMapBlock.php, line 28

Class

CurrentVisitorMapBlock
IPGV&M: Set my location .

Namespace

Drupal\ip_geoloc\Plugin\Block

Code

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