You are here

function SpoolStorageInterface::countMails in Simplenews 8

Same name and namespace in other branches
  1. 8.2 src/Spool/SpoolStorageInterface.php \Drupal\simplenews\Spool\SpoolStorageInterface::countMails()
  2. 3.x 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. Defaults

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 86

Class

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

Namespace

Drupal\simplenews\Spool

Code

function countMails(array $conditions = array());