You are here

public function EntityShareCronServiceInterface::sync in Entity Share Cron 8

Same name and namespace in other branches
  1. 8.2 src/EntityShareCronServiceInterface.php \Drupal\entity_share_cron\EntityShareCronServiceInterface::sync()
  2. 3.0.x src/EntityShareCronServiceInterface.php \Drupal\entity_share_cron\EntityShareCronServiceInterface::sync()

Synchronizes entities starting from provided channel URL.

Parameters

string $remote_id: The ID of the remote the channel belongs to.

string $channel_id: The ID of the channel to be synchronized.

array $channel_info: Channel info.

int $page_limit: The maximum number of pages to process. The remaining will be enqueued.

1 method overrides EntityShareCronServiceInterface::sync()
EntityShareCronService::sync in src/EntityShareCronService.php
Synchronizes entities starting from provided channel URL.

File

src/EntityShareCronServiceInterface.php, line 36

Class

EntityShareCronServiceInterface
Entity Share Cron service.

Namespace

Drupal\entity_share_cron

Code

public function sync($remote_id, $channel_id, array $channel_info, $page_limit = 0);