interface QueueHelperInterface in Entity Share 8.3
Same name and namespace in other branches
- 8.2 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
2 files declare their use of QueueHelperInterface
- EntityShareAsyncWorker.php in modules/
entity_share_async/ src/ Plugin/ QueueWorker/ EntityShareAsyncWorker.php - entity_share_async.install in modules/
entity_share_async/ entity_share_async.install
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 $import_config_id
* The import config ID.
* @param string[] $uuids
* The UUIDs of the entities to pull.
*/
public function enqueue($remote_id, $channel_id, $import_config_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. |