You are here

function media_acquiadam_update_8105 in Media: Acquia DAM 8

Update Acquia Dam settings to include a setting to disable SameSite Cookies.

File

./media_acquiadam.install, line 204
Installation related hooks and functions.

Code

function media_acquiadam_update_8105(&$sandbox) {
  $config = \Drupal::configFactory()
    ->getEditable('media_acquiadam.settings');
  $config
    ->set('samesite_cookie_disable', FALSE);
  $config
    ->save();
}