You are here

campaignmonitor.install in Campaign Monitor 8

Update hooks for campaignmonitor.

File

campaignmonitor.install
View source
<?php

/**
 * @file
 * Update hooks for campaignmonitor.
 */

/**
 * Remove the library_path config.
 */
function campaignmonitor_update_8001() {
  $config = \Drupal::configFactory()
    ->getEditable('campaignmonitor.settings');
  $data = $config
    ->getRawData();
  unset($data['library_path']);
  $config
    ->setData($data)
    ->save();
}

Functions

Namesort descending Description
campaignmonitor_update_8001 Remove the library_path config.