Skip to main content
Drupal is a registered trademark of Dries Buytaert
Release: Views Bootstrap 5.5.4 — Minor update available for module views_bootstrap (5.5.4). Release: Rightup theme 1.0.3 — Minor update available for theme vartheme_bs5_rightup (1.0.3). Release: CommentOn 1.0.6 — Minor update available for module commenton (1.0.6). Release: ChatGPT Ads 1.0.3 — Minor update available for module chatgpt_ads (1.0.3). Release: Opensolr Search 5.1.3 — Minor update available for module opensolr_search (5.1.3). Release: ServiceM8 Webform Integration 1.2.1 — Minor update available for module servicem8_webform (1.2.1). Release: PostfixAdmin 1.0.0 — Initial release available for module postfix_admin (1.0.0)! Release: ip_analyser 1.0.3 — Minor update available for module ip_analyser (1.0.3). Module Revived: Swagger-PHP OpenAPI 3 documentation generator 1.0.0 — Module swagger_php updated after 10 months of inactivity (1.0.0). Security Coverage: Microsoft Azure AI — Module ai_provider_azure now has official Drupal security advisory coverage.

Dependent Country State City modules extend your site functionality and provide feature to add/edit/delete Country State City and pincode/area as per your need. This module also provide API for fetching data from Database.

Go To Main Navigation -> Configuration -> Country, state and city
1. Country List
2. State List
3. City List
4. Pincode List

Country.

By Default all country added by module or you can add/edit/delete as per your need. Also provide API to fetch the data in json format. Below are the API details.

End Point: admin/city-state-city/api/get-country
query parameter with id : admin/city-state-city/api/get-country?id=103
query parameter with name : admin/city-state-city/api/get-country?country_name=India

State.

By Default all india states added by module or you can add/edit/delete as per your need. Also provide API to fetch the data in json format. Below are the API details.

End Point: /admin/city-state-city/api/get-state/103
here 103 mean country ID:

query parameter with name : /admin/city-state-city/api/get-state/103?state_name=Delhi

City.

There is no default data added by module but you can add/edit/delete as per your need. Also provide API to fetch the data in json format. Below are the API details.

End Point: /admin/city-state-city/api/get-city/32
here 32 mean state ID:

query parameter with name : /admin/city-state-city/api/get-city/32?city_name=Delhi

Pincode.

There is no default data added by module but you can add/edit/delete as per your need. Also provide API to fetch the data in json format. Below are the API details.

End Point: /admin/city-state-city/api/get-areapincode/2
here 2 mean city ID:

query parameter with name : /admin/city-state-city/api/get-areapincode/2?pincode_area=11

Note: Make sure to give right performission to right to role to access API feature.

PLACING MODULE IN THIS DIRECTORY
------------------------------------

You may create custom directory inside /web/module if already is not created, and place this module in web/module/custom directory, to organize your module.

ENABLE MODULE
-----------------------
You can enabled it using drush en dependent_country_state or from User Interface (admin/modules) search your module name and click on checkbox then click on install.

HOW TO CONFIGURE.
----------------
Default configuration is given by module, if you want to change then.
1. clear cache for better result.

Depends on

Dependencies of the latest stable release

No dependencies recorded for this project.

Required by

Tracked projects that depend on this one

No tracked projects depend on this one yet.

Activity

Tracked releases
3
Tracked since
Jan 2023
Latest release
3 years ago
Releases (12 mo)
0
Maintenance
Dormant

Release Timeline

Releases

Version Type Core Release date
1.0.6 Stable Jan 16, 2023
1.0.5 Stable Jan 16, 2023
1.0.4 Stable Jan 16, 2023