public function SpoolStorageInterface::issueSummary in Simplenews 3.x
Same name and namespace in other branches
- 8.2 src/Spool/SpoolStorageInterface.php \Drupal\simplenews\Spool\SpoolStorageInterface::issueSummary()
- 8 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\SpoolCode
public function issueSummary(ContentEntityInterface $issue);