Skip to content

Installation

Requirements

  • Drupal core 10.3 or later 10.x, Drupal 11 or Drupal 12.
  • PHP as required by your core version. The module adds no requirement of its own.
  • No contributed modules.

Install with Composer

composer require drupal/currency_field
drush en currency_field

Or enable Currency Field at Extend (/admin/modules). See Installing Drupal modules for other methods.

The module creates no configuration, tables or permissions of its own. Fields you add store their values in the usual field tables.

Uninstall

Delete every Currency field first, and run cron so Drupal purges their data. Drupal does not allow uninstalling a module that provides a field type while fields of that type exist. Then:

drush pm:uninstall currency_field

The module stores no data outside the fields you created. Its cached currency list stays in the default cache bin until the next cache rebuild.