You are here

function cms_content_sync_update_8004 in CMS Content Sync 2.1.x

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

Implements hook_update_N();.

Update the REST interface for entities to allow Basic Auth.

File

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

Code

function cms_content_sync_update_8004(&$sandbox) {
  _cms_content_sync_update_config([
    'rest.resource.cms_content_sync_entity_resource',
  ]);
  return 'Added Basic Auth as allowed authentication method to entity resource.';
}