You are here

public function EventStorageInterface::countDefaultLanguageRevisions in Event 8

Counts the number of revisions in the default language.

Parameters

\Drupal\event\Entity\EventInterface $entity: The Event entity.

Return value

int The number of revisions in the default language.

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

File

src/EventStorageInterface.php, line 51

Class

EventStorageInterface
Defines the storage handler class for Event entities.

Namespace

Drupal\event

Code

public function countDefaultLanguageRevisions(EventInterface $entity);