You are here

public function ContentSyncManager::generateExportQueue in Content Synchronization 8.2

Same name and namespace in other branches
  1. 3.0.x src/ContentSyncManager.php \Drupal\content_sync\ContentSyncManager::generateExportQueue()

Parameters

$file_names:

$directory:

Return value

array

File

src/ContentSyncManager.php, line 94

Class

ContentSyncManager

Namespace

Drupal\content_sync

Code

public function generateExportQueue($decoded_entities, $visited) {
  $queue = [];
  if (!empty($decoded_entities)) {
    $resolver = new ExportQueueResolver();
    $queue = $resolver
      ->resolve($decoded_entities, $visited);
  }
  return $queue;
}