You are here

function drush_cms_content_sync_content_sync_pull_entities in CMS Content Sync 2.0.x

Same name and namespace in other branches
  1. 8 cms_content_sync.drush.inc \drush_cms_content_sync_content_sync_pull_entities()
  2. 2.1.x cms_content_sync.drush.inc \drush_cms_content_sync_content_sync_pull_entities()

Pull entities from the Sync Core.

Parameters

string $flow_id:

Deprecated

Function is deprecated and is going to be removed in 2.0, use pull() instead.

File

./cms_content_sync.drush.inc, line 170
Contains Drush commands for Content Sync.

Code

function drush_cms_content_sync_content_sync_pull_entities($flow_id) {
  $options['force'] = drush_get_option('force', FALSE);
  Drupal::service('cms_content_sync.cli')
    ->pull_entities(new Drush8Io(), $flow_id, $options);
}