You are here

abstract protected function RecipientHandlerBase::doCount in Simplenews 3.x

Same name and namespace in other branches
  1. 8.2 src/Plugin/simplenews/RecipientHandler/RecipientHandlerBase.php \Drupal\simplenews\Plugin\simplenews\RecipientHandler\RecipientHandlerBase::doCount()

Counts the number of recipients.

Internal count function allowing the caller to perform caching.

Return value

int Number of recipients.

1 call to RecipientHandlerBase::doCount()
RecipientHandlerBase::count in src/Plugin/simplenews/RecipientHandler/RecipientHandlerBase.php
3 methods override RecipientHandlerBase::doCount()
RecipientHandlerEntityBase::doCount in src/Plugin/simplenews/RecipientHandler/RecipientHandlerEntityBase.php
Counts the number of recipients.
RecipientHandlerSelectBase::doCount in src/Plugin/simplenews/RecipientHandler/RecipientHandlerSelectBase.php
Counts the number of recipients.
RecipientHandlerSiteMail::doCount in modules/simplenews_demo/src/Plugin/simplenews/RecipientHandler/RecipientHandlerSiteMail.php
Counts the number of recipients.

File

src/Plugin/simplenews/RecipientHandler/RecipientHandlerBase.php, line 85

Class

RecipientHandlerBase
Base class for all Recipient Handler classes.

Namespace

Drupal\simplenews\Plugin\simplenews\RecipientHandler

Code

protected abstract function doCount();