You are here

protected function CopyRemoteFlow::getFlowConfig 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::getFlowConfig()
  2. 2.0.x src/Form/CopyRemoteFlow.php \Drupal\cms_content_sync\Form\CopyRemoteFlow::getFlowConfig()

Get a remote Flow config from the Sync Core.

Parameters

$url:

$id:

Return value

\EdgeBox\SyncCore\Interfaces\Configuration\IRemoteFlow

2 calls to CopyRemoteFlow::getFlowConfig()
CopyRemoteFlow::flowImportForm in src/Form/CopyRemoteFlow.php
Step 4: Adjust configuration before importing.
CopyRemoteFlow::save in src/Form/CopyRemoteFlow.php
Form submission handler for the 'save' action.

File

src/Form/CopyRemoteFlow.php, line 875

Class

CopyRemoteFlow
Form handler for the Pool add and edit forms.

Namespace

Drupal\cms_content_sync\Form

Code

protected function getFlowConfig($url, $id) {
  $client = SyncCoreFactory::getSyncCore($url);
  return $client
    ->getConfigurationService()
    ->getRemoteFlow($id);
}