You are here

public function SitewideAlertStorageInterface::countDefaultLanguageRevisions in Sitewide Alert 8

Counts the number of revisions in the default language.

Parameters

\Drupal\sitewide_alert\Entity\SitewideAlertInterface $entity: The Sitewide Alert entity.

Return value

int The number of revisions in the default language.

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

File

src/SitewideAlertStorageInterface.php, line 51

Class

SitewideAlertStorageInterface
Defines the storage handler class for Sitewide Alert entities.

Namespace

Drupal\sitewide_alert

Code

public function countDefaultLanguageRevisions(SitewideAlertInterface $entity);