public function HeartbeatStreamStorageInterface::countDefaultLanguageRevisions in Heartbeat 8
Counts the number of revisions in the default language.
Parameters
\Drupal\heartbeat\Entity\HeartbeatStreamInterface $entity: The Heartbeat stream entity.
Return value
int The number of revisions in the default language.
1 method overrides HeartbeatStreamStorageInterface::countDefaultLanguageRevisions()
- HeartbeatStreamStorage::countDefaultLanguageRevisions in src/
HeartbeatStreamStorage.php - Counts the number of revisions in the default language.
File
- src/
HeartbeatStreamStorageInterface.php, line 51
Class
- HeartbeatStreamStorageInterface
- Defines the storage handler class for Heartbeat stream entities.
Namespace
Drupal\heartbeatCode
public function countDefaultLanguageRevisions(HeartbeatStreamInterface $entity);