You are here

public function HeartbeatStorageInterface::countDefaultLanguageRevisions in Heartbeat 8

Counts the number of revisions in the default language.

Parameters

\Drupal\heartbeat\Entity\HeartbeatInterface $entity: The Heartbeat entity.

Return value

int The number of revisions in the default language.

1 method overrides HeartbeatStorageInterface::countDefaultLanguageRevisions()
HeartbeatStorage::countDefaultLanguageRevisions in src/HeartbeatStorage.php
Counts the number of revisions in the default language.

File

src/HeartbeatStorageInterface.php, line 51

Class

HeartbeatStorageInterface
Defines the storage handler class for Heartbeat entities.

Namespace

Drupal\heartbeat

Code

public function countDefaultLanguageRevisions(HeartbeatInterface $entity);