public function SimplenewsRecipientHandlerBase::count in Simplenews 7.2
Implements Countable::count().
File
- includes/
simplenews.recipient_handlers.inc, line 97 - Provide helpful functions and Interfaces for recipient handler plugins.
Class
- SimplenewsRecipientHandlerBase
- Base class for all Simplenews Recipient Handler classes.
Code
public function count() {
return $this
->buildRecipientCountQuery()
->execute()
->fetchField();
}