You are here

Deprecated in IP-based Determination of a Visitor's Country 8

Primary tabs

Examples: "before Drupal 9", "in Drupal 8.4"
Namesort descending Location Type Deprecation Direct uses Namespaced uses Overrides Use statements
ip2country_empty_database ./ip2country.inc 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 ./ip2country.module 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 ./ip2country.module 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 ./ip2country.inc 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).

Other projects