You are here

protected function CopyRemoteFlow::getRemotePools in CMS Content Sync 8

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

List all remote pools that aren't used locally yet.

Parameters

$url:

Return value

array

Throws

\Exception

1 call to CopyRemoteFlow::getRemotePools()
CopyRemoteFlow::poolsForm in src/Form/CopyRemoteFlow.php
Step 2: Select pools to look for existing flows for.

File

src/Form/CopyRemoteFlow.php, line 539

Class

CopyRemoteFlow
Form handler for the Pool add and edit forms.

Namespace

Drupal\cms_content_sync\Form

Code

protected function getRemotePools($url) {
  $client = SyncCoreFactory::getSyncCore($url);
  return $client
    ->getConfigurationService()
    ->listRemotePools();
}