You are here

constant CMS_CONTENT_SYNC_USER_ID in CMS Content Sync 8

Same name and namespace in other branches
  1. 2.1.x cms_content_sync.module \CMS_CONTENT_SYNC_USER_ID
  2. 2.0.x cms_content_sync.module \CMS_CONTENT_SYNC_USER_ID
3 uses of CMS_CONTENT_SYNC_USER_ID
AuthenticationByUser::getLoginData in src/Controller/AuthenticationByUser.php
@returns array
cms_content_sync_uninstall in ./cms_content_sync.install
Implements hook_uninstall().
cms_content_sync_user_password_submit in ./cms_content_sync.module
Update the password at Sync Core if it's necessary for authentication.

File

./cms_content_sync.module, line 42
Module file for cms_content_sync.

Code

define('CMS_CONTENT_SYNC_USER_ID', Drupal::service('keyvalue.database')
  ->get('cms_content_sync_user')
  ->get('uid'));