You are here

public function SpoolStorageInterface::issueSummary in Simplenews 8.2

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

Returns a summary of key newsletter issue parameters.

Parameters

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

Return value

array An array containing the following elements:

  • count: total number of emails that will be sent or have been sent.
  • sent_count: number of emails sent.
  • error_count: number of send errors.
  • description: readable description of status and email counts.
1 method overrides SpoolStorageInterface::issueSummary()
SpoolStorage::issueSummary in src/Spool/SpoolStorage.php
Returns a summary of key newsletter issue parameters.

File

src/Spool/SpoolStorageInterface.php, line 176

Class

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

Namespace

Drupal\simplenews\Spool

Code

public function issueSummary(ContentEntityInterface $issue);