This project is not covered by Drupal’s security advisory policy.
Provides a new field formatter (`address_html`) for the `address` field.
This module allows you to override address format for specific country and language through the admin panel.
Please use releases:
8.x-2.* for Drupal >= 8.5.
8.x-1.* [NOT SUPPORTED] for Drupal core version <= 8.4 and
Requirements
Installation
You can install this module using composer
composer require 'drupal/address_formatter:^2.0'
How to use
Install module. Then visit a config module page - `/admin/config/address-formatter`, there you can create/change/delete format options. For example, edit 'Default' option: choose country Australia and set address template in a textarea field (under the field you will see a list of available placeholders). and save. Go to the Content type page, edit some content type, add field address to it, then go to the manage display tab and opposite address field choose 'Address html' formatter and after this chose 'Default' option for this formatter. If after this you will create a node and set Australia address in the address field, on the node view page you will see address formatted as you set it in the 'Default' option.
Project information
- Module categories: Site Structure
- 208 sites report using this module
- Created by semjuel on , updated
- This project is not covered by the security advisory policy.
Use at your own risk! It may have publicly disclosed vulnerabilities.
Releases
Drupal 10 support, new features and minor bugfixes
Development version: 8.x-2.x-dev updated 30 Jan 2024 at 17:52 UTC