You are here

abstract protected function RecipientHandlerSelectBase::buildRecipientQuery in Simplenews 8.2

Same name and namespace in other branches
  1. 3.x src/Plugin/simplenews/RecipientHandler/RecipientHandlerSelectBase.php \Drupal\simplenews\Plugin\simplenews\RecipientHandler\RecipientHandlerSelectBase::buildRecipientQuery()

Build the query that gets the list of recipients.

Return value

\Drupal\Core\Database\Query\SelectInterface Query with the columns 'snid' and 'newsletter_id' for each recipient.

1 call to RecipientHandlerSelectBase::buildRecipientQuery()
RecipientHandlerSelectBase::addToSpool in src/Plugin/simplenews/RecipientHandler/RecipientHandlerSelectBase.php
Adds a newsletter issue to the mail spool.
1 method overrides RecipientHandlerSelectBase::buildRecipientQuery()
RecipientHandlerAll::buildRecipientQuery in src/Plugin/simplenews/RecipientHandler/RecipientHandlerAll.php
Build the query that gets the list of recipients.

File

src/Plugin/simplenews/RecipientHandler/RecipientHandlerSelectBase.php, line 42

Class

RecipientHandlerSelectBase
Base for Recipient Handlers that access the database directly using Select.

Namespace

Drupal\simplenews\Plugin\simplenews\RecipientHandler

Code

protected abstract function buildRecipientQuery();