You are here

function image_widget_crop_update_8001 in Image Widget Crop 8.2

Set as default new settings to control IWC verbose.

File

./image_widget_crop.install, line 61
Install, update and uninstall functions for the ImageWidgetCrop module.

Code

function image_widget_crop_update_8001() {
  \Drupal::service('config.factory')
    ->getEditable('image_widget_crop.settings')
    ->set('settings.notify_update', TRUE)
    ->set('settings.notify_apply', FALSE)
    ->save();
}