Drupal is a registered trademark of Dries Buytaert
drupal 11.3.8 Update released for Drupal core (11.3.8)! drupal 11.3.7 Update released for Drupal core (11.3.7)! drupal 11.2.11 Update released for Drupal core (11.2.11)! drupal 10.6.7 Update released for Drupal core (10.6.7)! drupal 10.5.9 Update released for Drupal core (10.5.9)! cms 2.1.1 Update released for Drupal core (2.1.1)! drupal 11.3.6 Update released for Drupal core (11.3.6)! drupal 10.6.6 Update released for Drupal core (10.6.6)! cms 2.1.0 Update released for Drupal core (2.1.0)! linkit 7.0.14 Minor update available for module linkit (7.0.14). masquerade 8.x-2.2 Minor update available for module masquerade (8.x-2.2). video_embed_field 3.1.0 Minor update available for module video_embed_field (3.1.0). bootstrap 8.x-3.40 Minor update available for theme bootstrap (8.x-3.40). menu_link_attributes 8.x-1.7 Minor update available for module menu_link_attributes (8.x-1.7). editoria11y 3.0.1 Minor update available for module editoria11y (3.0.1). geofield_map 11.1.9 Minor update available for module geofield_map (11.1.9). domain 3.0.0 Major update available for module domain (3.0.0). ai 1.2.15 Minor update available for module ai (1.2.15). ai 1.3.4 Minor update available for module ai (1.3.4). leaflet 10.4.7 Minor update available for module leaflet (10.4.7).

loqate

459 sites Security covered
View on drupal.org

This module integrates Loqate (previously PCA/Addressy) address lookup with Drupal. It adds a Form element, a field type and widgets, optional Webform elements, and Address module support for both forms and field widgets.

Requirements

  • Drupal 9, 10, or 11
  • Key - stores the Loqate API key securely (Key).
  • A Loqate API key from your Loqate account (Create an API Key).

Optional dependencies

  • Address - required by the PCA Address submodule (pca_address) for Address field integration (Address).
  • Webform - required by the PCA Webform submodule (pca_webform) and for the Loqate address Webform element (Webform)

Installation

  1. Install the module composer require 'drupal/loqate:^3.0'
  2. Add the API key /admin/config/services/loqate-api

Usage

Form element

// Use #type "pca_address_advanced" for the Address module variant.
$form['shipping_address'] = [
  '#type' => 'pca_address',
  '#title' => $this->t('Shipping Address'),
  '#show_address_fields' => FALSE,
  '#allow_manual_input' => TRUE,
];

Please see the documentation for more details.

Field widget

Address module support

Install the pca_address submodule to enable Address module support for both a FormElement (Form API) and field widget. The field widget can be used on the Address module's address field type.

Webform element

  1. Enable the pca_webform submodule
  2. Go to your Webform and select the element type called "PCA address" which you can find under "Composite elements".
  3. drush cr

Address Field Lookup support

This is being worked on in #2997232: Address module support via Address Field Lookup.

Documentation

Similar modules

Activity

Total releases
4
First release
Mar 2026
Latest release
4 weeks ago
Release cadence
6 days
Stability
100% stable

Release Timeline

Releases

Version Type Release date
3.0.4 Stable Apr 3, 2026
3.0.3 Stable Mar 30, 2026
3.0.2 Stable Mar 29, 2026
3.0.1 Stable Mar 16, 2026