interface QueueHelperInterface in Entity Share 8.2
Same name and namespace in other branches
- 8.3 modules/entity_share_async/src/Service/QueueHelperInterface.php \Drupal\entity_share_async\Service\QueueHelperInterface
Queue helper interface methods.
Hierarchy
- interface \Drupal\entity_share_async\Service\QueueHelperInterface
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\ServiceView 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
Name | Modifiers | Type | Description | Overrides |
---|---|---|---|---|
QueueHelperInterface:: |
public | function | Enqueue entity to be synced later. | 1 |
QueueHelperInterface:: |
constant | The queue ID. | ||
QueueHelperInterface:: |
constant | The state ID. |