abstract protected function RecipientHandlerEntityBase::buildEntityQuery in Simplenews 3.x
Same name and namespace in other branches
- 8.2 src/Plugin/simplenews/RecipientHandler/RecipientHandlerEntityBase.php \Drupal\simplenews\Plugin\simplenews\RecipientHandler\RecipientHandlerEntityBase::buildEntityQuery()
Build the query that gets the list of subscribers.
Return value
\Drupal\Core\Entity\Query\QueryInterface Entity query on 'simplenews_subscriber' or 'user'.
1 call to RecipientHandlerEntityBase::buildEntityQuery()
- RecipientHandlerEntityBase::addToSpool in src/
Plugin/ simplenews/ RecipientHandler/ RecipientHandlerEntityBase.php - Adds a newsletter issue to the mail spool.
2 methods override RecipientHandlerEntityBase::buildEntityQuery()
- RecipientHandlerNewUsers::buildEntityQuery in modules/
simplenews_demo/ src/ Plugin/ simplenews/ RecipientHandler/ RecipientHandlerNewUsers.php - Build the query that gets the list of subscribers.
- RecipientHandlerSubscribersByRole::buildEntityQuery in modules/
simplenews_demo/ src/ Plugin/ simplenews/ RecipientHandler/ RecipientHandlerSubscribersByRole.php - Build the query that gets the list of subscribers.
File
- src/
Plugin/ simplenews/ RecipientHandler/ RecipientHandlerEntityBase.php, line 34
Class
- RecipientHandlerEntityBase
- Base for Recipient Handler classes based on EntityQuery.
Namespace
Drupal\simplenews\Plugin\simplenews\RecipientHandlerCode
protected abstract function buildEntityQuery();