You are here

public function MerciLineItemStorageInterface::countDefaultLanguageRevisions in MERCI (Manage Equipment Reservations, Checkout and Inventory) 8.2

Counts the number of revisions in the default language.

Parameters

\Drupal\merci_line_item\Entity\MerciLineItemInterface $entity: The Merci Line Item entity.

Return value

int The number of revisions in the default language.

1 method overrides MerciLineItemStorageInterface::countDefaultLanguageRevisions()
MerciLineItemStorage::countDefaultLanguageRevisions in modules/merci_line_item/src/MerciLineItemStorage.php
Counts the number of revisions in the default language.

File

modules/merci_line_item/src/MerciLineItemStorageInterface.php, line 51

Class

MerciLineItemStorageInterface
Defines the storage handler class for Merci Line Item entities.

Namespace

Drupal\merci_line_item

Code

public function countDefaultLanguageRevisions(MerciLineItemInterface $entity);