You are here

public function PetStorageInterface::countDefaultLanguageRevisions in Previewable email templates 8.3

Counts the number of revisions in the default language.

Parameters

\Drupal\pet\Entity\PetInterface $entity: The Pet entity.

Return value

int The number of revisions in the default language.

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

File

src/PetStorageInterface.php, line 51

Class

PetStorageInterface
Defines the storage handler class for Pet entities.

Namespace

Drupal\pet

Code

public function countDefaultLanguageRevisions(PetInterface $entity);