function entity_share_async_update_8301 in Entity Share 8.3
Delete the state and the queue.
File
- modules/
entity_share_async/ entity_share_async.install, line 25
Code
function entity_share_async_update_8301() {
\Drupal::state()
->delete(QueueHelperInterface::STATE_ID);
$queue = \Drupal::queue(QueueHelperInterface::QUEUE_NAME);
$queue
->deleteQueue();
\Drupal::messenger()
->addStatus(t('Entities will need to be remarked for asynchronous import.'));
}