You are here

public function SimpleMegaMenuStorageInterface::countDefaultLanguageRevisions in Simple Mega Menu 8

Same name and namespace in other branches
  1. 2.0.x src/SimpleMegaMenuStorageInterface.php \Drupal\simple_megamenu\SimpleMegaMenuStorageInterface::countDefaultLanguageRevisions()

Counts the number of revisions in the default language.

Parameters

\Drupal\simple_megamenu\Entity\SimpleMegaMenuInterface $entity: The Simple mega menu entity.

Return value

int The number of revisions in the default language.

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

File

src/SimpleMegaMenuStorageInterface.php, line 51

Class

SimpleMegaMenuStorageInterface
Defines the storage handler class for Simple mega menu entities.

Namespace

Drupal\simple_megamenu

Code

public function countDefaultLanguageRevisions(SimpleMegaMenuInterface $entity);