You are here

interface QueueHelperInterface in Entity Share 8.2

Same name and namespace in other branches
  1. 8.3 modules/entity_share_async/src/Service/QueueHelperInterface.php \Drupal\entity_share_async\Service\QueueHelperInterface

Queue helper interface methods.

Hierarchy

Expanded class hierarchy of QueueHelperInterface

All classes that implement QueueHelperInterface

1 file declares its use of QueueHelperInterface
EntityShareAsyncWorker.php in modules/entity_share_async/src/Plugin/QueueWorker/EntityShareAsyncWorker.php

File

modules/entity_share_async/src/Service/QueueHelperInterface.php, line 10

Namespace

Drupal\entity_share_async\Service
View source
interface QueueHelperInterface {

  /**
   * The queue ID.
   */
  const QUEUE_NAME = 'entity_share_async_import';

  /**
   * The state ID.
   */
  const STATE_ID = 'entity_share_async.states';

  /**
   * Enqueue entity to be synced later.
   *
   * @param string $remote_id
   *   The remote ID.
   * @param string $channel_id
   *   The channel ID.
   * @param string[] $uuids
   *   The UUIDs of the entities to pull.
   */
  public function enqueue($remote_id, $channel_id, array $uuids);

}

Members

Namesort descending Modifiers Type Description Overrides
QueueHelperInterface::enqueue public function Enqueue entity to be synced later. 1
QueueHelperInterface::QUEUE_NAME constant The queue ID.
QueueHelperInterface::STATE_ID constant The state ID.