Deprecated in IP-based Determination of a Visitor's Country 8
Primary tabs
- IP-based Determination of a Visitor's Country 5
- IP-based Determination of a Visitor's Country 6
- IP-based Determination of a Visitor's Country 7
- IP-based Determination of a Visitor's Country 8(active tab)
Name | Location | Type | Deprecation | Direct uses | Namespaced uses | Overrides | Use statements |
---|---|---|---|---|---|---|---|
ip2country_empty_database |
./ |
function | in ip2country:8.x-1.9 and is removed from ip2country:8.x-2.0. Use the ip2country.manager service instead. For example, \Drupal::service('ip2country.manager')->emptyDatabase(). | ||||
ip2country_get_count |
./ |
function | in ip2country:8.x-1.9 and is removed from ip2country:8.x-2.0. Use the ip2country.manager service instead. For example, \Drupal::service('ip2country.manager')->getRowCount(). | ||||
ip2country_get_country |
./ |
function | in ip2country:8.x-1.9 and is removed from ip2country:8.x-2.0. Use the ip2country.lookup service instead. For example, \Drupal::service('ip2country.lookup')->getCountry($ip_address). | ||||
ip2country_update_database |
./ |
function | in ip2country:8.x-1.9 and is removed from ip2country:8.x-2.0. Use the ip2country.manager service instead. For example, \Drupal::service('ip2country.manager')->updateDatabase($rir). |