You are here

function SpoolStorageInterface::issueSummary in Simplenews 8

Same name and namespace in other branches
  1. 8.2 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\node\NodeInterface $node: The newsletter node to be sent.

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.
  • 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 143

Class

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

Namespace

Drupal\simplenews\Spool

Code

function issueSummary(NodeInterface $node);