public function SpoolStorageInterface::countMails in Simplenews 3.x
Same name and namespace in other branches
- 8.2 src/Spool/SpoolStorageInterface.php \Drupal\simplenews\Spool\SpoolStorageInterface::countMails()
- 8 src/Spool/SpoolStorageInterface.php \Drupal\simplenews\Spool\SpoolStorageInterface::countMails()
Count data in mail spool table.
Parameters
array $conditions: (Optional) Array of conditions which are applied to the query. If not set, status defaults to SpoolStorageInterface::STATUS_PENDING, SpoolStorageInterface::STATUS_IN_PROGRESS.
Return value
int Count of mail spool elements of the passed in arguments.
1 method overrides SpoolStorageInterface::countMails()
- SpoolStorage::countMails in src/
Spool/ SpoolStorage.php - Count data in mail spool table.
File
- src/
Spool/ SpoolStorageInterface.php, line 90
Class
- SpoolStorageInterface
- The spool storage manages a queue of mails that need to be sent.
Namespace
Drupal\simplenews\SpoolCode
public function countMails(array $conditions = []);