function bynder_update_8003 in Bynder 8.2
Same name and namespace in other branches
- 8.3 bynder.install \bynder_update_8003()
- 8 bynder.install \bynder_update_8003()
- 4.0.x bynder.install \bynder_update_8003()
Update module's configuration.
File
- ./
bynder.install, line 107 - Install, uninstall and update hooks for Bynder module.
Code
function bynder_update_8003() {
\Drupal::configFactory()
->getEditable('bynder.settings')
->set('cache_lifetime', 86400)
->clear('derivatives')
->save();
}