You are here

public function SpoolListInterface::getResults in Simplenews 8.2

Same name and namespace in other branches
  1. 3.x src/Spool/SpoolListInterface.php \Drupal\simplenews\Spool\SpoolListInterface::getResults()

Returns the results of all mails that have been processed by this list.

This function cancels any remaining mails in the list.

Return value

array An array of mail spool rows. Each array value is a simplenews_mail_spool database row plus the following additional properties.

  • langcode: language used to send this mail.
  • result: one of the SpoolStorageInterface::STATUS_* constants.
1 method overrides SpoolListInterface::getResults()
SpoolList::getResults in src/Spool/SpoolList.php
Returns the results of all mails that have been processed by this list.

File

src/Spool/SpoolListInterface.php, line 37

Class

SpoolListInterface
A list of spooled mails.

Namespace

Drupal\simplenews\Spool

Code

public function getResults();