Problem/Motivation

Currently, the FixedRates exchanger plugin does not provide a method to save multiple exchange rates at once. This can lead to inefficient code when updating many rates, as each must be saved individually.

Steps to reproduce

Proposed resolution

Introduce a new method saveMultiple(array $newRates) in the FixedRates exchanger plugin. This method will allow batch updating of exchange rates by modifying the configuration in one operation.

Remaining tasks

User interface changes

API changes

Data model changes

Issue fork currency-3523945

Command icon Show commands

Start within a Git clone of the project using the version control instructions.

Or, if you do not have SSH keys set up on git.drupalcode.org:

Comments

postyly created an issue. See original summary.

postyly’s picture

Assigned: postyly » Unassigned
Status: Active » Needs review

super_romeo changed the visibility of the branch 3523945-refactor-save-multiple to hidden.

super_romeo changed the visibility of the branch 3523945-refactor-save-multiple to active.

super_romeo’s picture

StatusFileSize
new3.14 KB

This patch is for module version 3.x.
It must be applied after the MR4-patch from issue Automated Drupal 11 compatibility fixes for currency.

rurik666 made their first commit to this issue’s fork.