Skip to main content
Drupal is a registered trademark of Dries Buytaert
Release: OpenID Connect / OAuth client 3.0.0-alpha9 New alpha version released for module openid_connect (3.0.0-alpha9). Usage Milestone: Google Analytics Module google_analytics crossed 1,000 active installs. Release: Timelinr 1.0.1 Minor update available for module timelinr (1.0.1). Release: GraphQL Compose Codegen 1.1.2 Minor update available for module graphql_compose_codegen (1.1.2). Release: Mapy.com 1.1.3 Minor update available for module mapycom (1.1.3). Release: Ckeditor5 entity browser 3.0.3 Minor update available for module ckeditor5_entity_browser (3.0.3). Release: Ckeditor5 entity browser 3.0.1 Minor update available for module ckeditor5_entity_browser (3.0.1). Release: Ckeditor5 entity browser 3.0.2 Minor update available for module ckeditor5_entity_browser (3.0.2). Release: Teamleader Integration 4.0.2 Minor update available for module teamleader (4.0.2). Module Revived: Entityqueue Buttons 1.1.2 Module entityqueue_buttons updated after 8 months of inactivity (1.1.2).

Address Suggestion

218 sites Security covered Drupal 9–11 Address ecosystem
View on drupal.org

This module provides automatic address suggestions for Drupal forms, offering enhanced features like country-specific suggestions, house number auto-addition, and integration with various mapping services and providers. It also includes a button for autosuggestion within CkEditor5 to embed maps.

The Address Suggestion module for Drupal is a robust alternative to the address autocomplete module, which is no longer actively maintained. Address Suggestion offers a set of enhanced features:

  • Automatic address suggestions with country specificity,
  • Configuration per Field widget (not in module settings)
  • Support field text plain, field address
  • Support CkEditor5
  • Get country site by default (more precise)
  • House number auto-addition
  • Integration with Geo fields or Geolocation field

This module is support with various address providers, such as

Formatter supports

  • Open street map (free - no api)
  • Esri ArcGIS (free - no api)
  • Google map iframe (no api required)
  • Mapbox
  • Map quest
  • Tom tom
  • Here

Button autosuggestion in ckeditor5. It will embed google map
. Seek Developper for more options map: like apple map, bing map, ...

For developper
- For each provider can set your custom endpoint. You can create your own api in the server to save the new address if request is not found in the database, you will call the provider's api to get it and you save the new address on your server. That will save your money
- You can create your plugin just create your_module/src/Plugin/AddressProvider/your_request_api.php
views exemples in module
- If you want add address suggestion for your custom textfield with #autocomplete
you can active button Address suggestion in CkEditor5 (ex: full_html), you will get token in configuration.


$form['custom_text_field'] = [
     '#type' => 'textfield',
     '#title' => $this->t('Autocomplete Address'),
     '#autocomplete_route_name' => 'address_suggestion.ckeditor',
     '#autocomplete_route_parameters' => ['format' => 'full_html'],
     '#autocomplete_query_parameters' => ['token' => $token],
....
];

If you find this module valuable, consider supporting the developer by buying me a ☕.

Depends on

Dependencies of the latest stable release

Required by

Tracked projects that depend on this one

No tracked projects depend on this one yet.

Activity

Tracked releases
3
Tracked since
Sep 2024
Latest release
5 days ago
Releases (12 mo)
1 ▼ from 2
Maintenance
Active

Release Timeline

Releases

Version Type Core Release date
1.0.25 Stable 9–11 Aug 26, 2026
1.0.24 Stable 9–11 Jun 20, 2025
1.0.23 Stable 9–11 Sep 25, 2024