You are here

public function DataPolicyStorageInterface::countDefaultLanguageRevisions in Data Policy 8

Counts the number of revisions in the default language.

Parameters

\Drupal\data_policy\Entity\DataPolicyInterface $entity: The Data policy entity.

Return value

int The number of revisions in the default language.

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

File

src/DataPolicyStorageInterface.php, line 51

Class

DataPolicyStorageInterface
Defines the storage handler class for Data policy entities.

Namespace

Drupal\data_policy

Code

public function countDefaultLanguageRevisions(DataPolicyInterface $entity);