INTRODUCTION
------------
With the help of this module we can add below field to generate country, state and city drop-down in our content type.
This module have latest data like ... We have 250 country, 4,892 States/Regions and 1,46,028 city.

BENEFITS
--------
This module add 3 below field type :
1) country state city type
When user added this field type in any content type then while adding or
editing choose the country, the state field is showed, than, when user
select the state, the city field is showed.

2) country state type
When user added this field type in any content type then while adding or
editing choose the country, the state field is showed.

3) country only

User can add this filed if they want only country drop-down.

4) Supports Multilingual for all the country, state and city data.

REQUIREMENTS
------------
Drupal 8.x

INSTALLATION
------------

Install the Country state and city module:
Using DRUSH: drush en country_state_city

CONFIGURATION
-------------
a) First need to enable "country_state_city" module.
b) After enabling country_state_city module, please enable sub-module by using below drush command to import data:

  1. drush en csc_country_data
  2. drush en csc_state_data
  3. drush en csc_city_data

Note: For importing city data, we have to wait sometime because we have
more than 1.4 lakh data for city so it takes time to import all.

c) Finally go to admin/structure/csc-modes to get list of country, state and city data.
d) After importing all the data, now to the manage field section of any
content type in which you want to add above field.

Supporting organizations: 

Project information

Releases