function bynder_update_8003 in Bynder 8
Same name and namespace in other branches
- 8.3 bynder.install \bynder_update_8003()
- 8.2 bynder.install \bynder_update_8003()
- 4.0.x bynder.install \bynder_update_8003()
Update module's configuration.
File
- ./
bynder.install, line 68 - 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();
}