mirror of
https://github.com/farmOS/farmOS.git
synced 2024-02-23 11:37:38 +01:00
Issue #3197581 by sidharth_soman: Cache needs to be cleared after setting MapBox API key for the first time
This commit is contained in:
parent
d6e8718086
commit
158611e4c5
2 changed files with 5 additions and 0 deletions
|
@ -16,6 +16,10 @@ and this project adheres to [Semantic Versioning](https://semver.org/spec/v2.0.0
|
|||
- [Issue #3357679: Allow material quantities to reference multiple material types](https://www.drupal.org/project/farm/issues/3357679)
|
||||
- [Issue #3330490: Update Drupal core to 10.x in farmOS](https://www.drupal.org/project/farm/issues/3330490)
|
||||
|
||||
### Fixed
|
||||
|
||||
- [Issue #3197581: Cache needs to be cleared after setting MapBox API key for the first time](https://www.drupal.org/project/farm/issues/3197581)
|
||||
|
||||
## [2.2.2] 2023-10-25
|
||||
|
||||
### Changed
|
||||
|
|
|
@ -57,6 +57,7 @@ class MapboxSettingsForm extends ConfigFormbase {
|
|||
$this->configFactory->getEditable(static::SETTINGS)
|
||||
->set('api_key', $form_state->getValue('api_key'))
|
||||
->save();
|
||||
drupal_flush_all_caches();
|
||||
|
||||
parent::submitForm($form, $form_state);
|
||||
}
|
||||
|
|
Loading…
Reference in a new issue