You are here

function bynder_update_8003 in Bynder 8.2

Same name and namespace in other branches
  1. 8.3 bynder.install \bynder_update_8003()
  2. 8 bynder.install \bynder_update_8003()
  3. 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();
}