RecipientHandlerInterface.php in Simplenews 8
Same filename and directory in other branches
Namespace
Drupal\simplenews\RecipientHandlerFile
src/RecipientHandler/RecipientHandlerInterface.phpView source
<?php
namespace Drupal\simplenews\RecipientHandler;
use Drupal\Component\Plugin\PluginInspectionInterface;
/**
* Interface for Simplenews Recipient Handler Classes.
*/
interface RecipientHandlerInterface extends \Countable, PluginInspectionInterface {
/**
* Build the query that gets the list of recipients.
*
* @return A SelectQuery object with the columns 'snid', 'mail' and
* 'newsletter_id' for each recipient.
*/
function buildRecipientQuery();
/**
* Build a query to count the number of recipients.
*
* @return A SelectQuery object to count the number of recipients.
*/
function buildRecipientCountQuery();
}
Interfaces
Name | Description |
---|---|
RecipientHandlerInterface | Interface for Simplenews Recipient Handler Classes. |