You are here

public function SpoolStorageInterface::updateMails in Simplenews 3.x

Same name and namespace in other branches
  1. 8.2 src/Spool/SpoolStorageInterface.php \Drupal\simplenews\Spool\SpoolStorageInterface::updateMails()
  2. 8 src/Spool/SpoolStorageInterface.php \Drupal\simplenews\Spool\SpoolStorageInterface::updateMails()

Update status of mail data in spool table.

Time stamp is set to current time.

Parameters

array $msids: Array of Mail spool ids to be updated.

int $status: One of the SpoolStorageInterface::STATUS_* constants.

1 method overrides SpoolStorageInterface::updateMails()
SpoolStorage::updateMails in src/Spool/SpoolStorage.php
Update status of mail data in spool table.

File

src/Spool/SpoolStorageInterface.php, line 77

Class

SpoolStorageInterface
The spool storage manages a queue of mails that need to be sent.

Namespace

Drupal\simplenews\Spool

Code

public function updateMails(array $msids, $status);