You are here

public function SyncCorePoolExport::verifySiteId in CMS Content Sync 8

Same name and namespace in other branches
  1. 2.1.x src/SyncCorePoolExport.php \Drupal\cms_content_sync\SyncCorePoolExport::verifySiteId()
  2. 2.0.x src/SyncCorePoolExport.php \Drupal\cms_content_sync\SyncCorePoolExport::verifySiteId()

Check if another site has already connected to this pool with the same site ID.

Return value

null|array

File

src/SyncCorePoolExport.php, line 34

Class

SyncCorePoolExport

Namespace

Drupal\cms_content_sync

Code

public function verifySiteId() {
  try {
    return $this->client
      ->verifySiteId();
  } catch (NotFoundException $e) {
    return null;
  }
}