public function ConsentAgreementStorageInterface::countDefaultLanguageRevisions in General Data Protection Regulation 3.0.x
Same name and namespace in other branches
- 8.2 modules/gdpr_consent/src/ConsentAgreementStorageInterface.php \Drupal\gdpr_consent\ConsentAgreementStorageInterface::countDefaultLanguageRevisions()
- 8 modules/gdpr_consent/src/ConsentAgreementStorageInterface.php \Drupal\gdpr_consent\ConsentAgreementStorageInterface::countDefaultLanguageRevisions()
Counts the number of revisions in the default language.
Parameters
\Drupal\gdpr_consent\Entity\ConsentAgreementInterface $entity: The Consent Agreement entity.
Return value
int The number of revisions in the default language.
1 method overrides ConsentAgreementStorageInterface::countDefaultLanguageRevisions()
- ConsentAgreementStorage::countDefaultLanguageRevisions in modules/
gdpr_consent/ src/ ConsentAgreementStorage.php - Counts the number of revisions in the default language.
File
- modules/
gdpr_consent/ src/ ConsentAgreementStorageInterface.php, line 51
Class
- ConsentAgreementStorageInterface
- Defines the storage handler class for Consent Agreement entities.
Namespace
Drupal\gdpr_consentCode
public function countDefaultLanguageRevisions(ConsentAgreementInterface $entity);