Download countries-7.x-2.x-dev.tar.gztar.gz 55.63 KB
MD5: ae173ce5e7951aadf042089da094d497
SHA-1: bd621110c9f3ba04be30af4dee8896bdcf63c569
SHA-256: a2da12984ba9fdd02a9f6a13b93bac062b8971513a85df7fbbc52124e5837cce
Download countries-7.x-2.x-dev.zipzip 69.4 KB
MD5: ee4e57b54755964ca24c35f90e4beb5b
SHA-1: 32b66f011ea7c54021e950cf420fa085529001eb
SHA-256: a013006579ea2db4187f4497ff0d59912b45d3a9858222d146e05fc7f7996d4a
Install with Composer: $ composer require 'drupal/countries:2.x-dev'
Using Composer to manage Drupal site dependencies

Release info

Created by: webflo
Created on: 10 Apr 2011 at 19:08 UTC
Last updated: 6 Jul 2016 at 20:22 UTC
Core compatibility: 7.x
Release type: Bug fixes, New features

Release notes

Changes since 7.x-2.1

#2284469: Tests for "New countries" (not in core) fail
#2041235: Problems with Views filter "(country from field_country) Countries: Name - list (exposed)"
#2036249: Devel Generate module integration.
#2034027: Cache clearing function: countries_clear_caches()
#2034005: Misc issues. Wrong CRUD usage, couple test errors and clean-up
#2033081: Deleting a custom country redirects to the wrong page
#1225632: Integrate with VBO (allowing custom views and bulk update options)
#1130506: Apache Solr integration
#2017825: Multiple duplicates in imports may cause PHP warnings and incomplete messages
#1981556: CTools context support for ISO alpha-2 and alpha-3 arguments
#1619486: Breadcrumb for Views contextual filter displays ISO2 code instead of country name
#1860966: Installing module uses country name instead of CSV 'name'
#1941142: Error when modules "List" and "Options" are not enabled
#2027291: Best practice: How to add a country without an ISO code?
#1889998: Use label callback instead of name property
#1490864: Multilingual Support in field_formatter
#1907918: Country field isn't required
#2017805: Make the view relationship more obvious to users
#1458938: Add schema columns properties
#2027613: Overhead in countries_countries_alter()
#2117755: Typo on README.txt

Contains some updates to the official country names and ISO update:
#1793392: Some of the country names are wrong
#1157504: New countries

New in this version (7.x-1.x to 7.x-2.x):

- Views Support
- Refactored code to utilize the options list widget from Drupal core.
- Integration with the Entity API
- And much more

The current road map to an official 7.x-2.x is outlined here: #1437376: Pre 7.x--2.0 release tasks [meta issue].

New Entity API dependency

Minor API changes

These should not effect end-users.

The function countries_get_countries() could throw an exception if an invalid property is requested.

Deprecated countries_get_country(). Each time that this function is called, the module will log a warning in the error logs. Use country_load() instead.


The selected release is the release that will be used for automated testing. Optional projects are only used for testing.



No optional projects