You are here

public function SpoolStorageInterface::issueCountRecipients in Simplenews 3.x

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

Returns a count of the recipients for a newsletter issue.

Parameters

\Drupal\Core\Entity\ContentEntityInterface $issue: The newsletter issue entity.

Return value

int Count of recipients.

1 method overrides SpoolStorageInterface::issueCountRecipients()
SpoolStorage::issueCountRecipients in src/Spool/SpoolStorage.php
Returns a count of the recipients for a newsletter issue.

File

src/Spool/SpoolStorageInterface.php, line 187

Class

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

Namespace

Drupal\simplenews\Spool

Code

public function issueCountRecipients(ContentEntityInterface $issue);