You are here

public function SpoolStorageInterface::deleteMails in Simplenews 3.x

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

Remove records from mail spool table according to the conditions.

Return value

int Count deleted

1 method overrides SpoolStorageInterface::deleteMails()
SpoolStorage::deleteMails in src/Spool/SpoolStorage.php
Remove records from mail spool table according to the conditions.

File

src/Spool/SpoolStorageInterface.php, line 109

Class

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

Namespace

Drupal\simplenews\Spool

Code

public function deleteMails(array $conditions);