You are here

service ip2country.lookup in IP-based Determination of a Visitor's Country 8

Class

Drupal\ip2country\Ip2CountryLookup
5 string references to ip2country.lookup
Ip2CountryController::create in src/Controller/Ip2CountryController.php
Instantiates a new instance of this class.
Ip2CountryResource::create in src/Plugin/rest/resource/Ip2CountryResource.php
Creates an instance of the plugin.
Ip2CountrySettingsForm::create in src/Form/Ip2CountrySettingsForm.php
Instantiates a new instance of this class.
ip2country_user_login in ./ip2country.module
Implements hook_user_login().
UserInCountry::create in src/Plugin/Condition/UserInCountry.php
Creates an instance of the plugin.

File

./ip2country.services.yml
ip2country.services.yml

View source
  1. class: Drupal\ip2country\Ip2CountryLookup
  2. arguments:
  3. - '@request_stack'
  4. - '@database'