You are here

function akamai_update_8002 in Akamai 8.3

Set purge_urls_with_hostname setting to match previous behavior.

File

./akamai.install, line 45
Contains install and update functionality for Akamai.

Code

function akamai_update_8002() {
  $config = \Drupal::service('config.factory')
    ->getEditable('akamai.settings');
  $config
    ->set('purge_urls_with_hostname', TRUE);
  $config
    ->save();
}