You are here

function cms_content_sync_update_8003 in CMS Content Sync 8

Same name and namespace in other branches
  1. 2.1.x cms_content_sync.install \cms_content_sync_update_8003()
  2. 2.0.x cms_content_sync.install \cms_content_sync_update_8003()

Implements hook_update_N();.

Delete unused rest interface configuration.

File

./cms_content_sync.install, line 481
Install file for cms_content_sync.

Code

function cms_content_sync_update_8003(&$sandbox) {
  Drupal::configFactory()
    ->getEditable('rest.resource.cms_content_sync_preview_resource')
    ->delete();
}