You are here

public function ConsentAgreementStorageInterface::clearRevisionsLanguage in General Data Protection Regulation 3.0.x

Same name and namespace in other branches
  1. 8.2 modules/gdpr_consent/src/ConsentAgreementStorageInterface.php \Drupal\gdpr_consent\ConsentAgreementStorageInterface::clearRevisionsLanguage()
  2. 8 modules/gdpr_consent/src/ConsentAgreementStorageInterface.php \Drupal\gdpr_consent\ConsentAgreementStorageInterface::clearRevisionsLanguage()

Unsets the language for all Consent Agreement with the given language.

Parameters

\Drupal\Core\Language\LanguageInterface $language: The language object.

1 method overrides ConsentAgreementStorageInterface::clearRevisionsLanguage()
ConsentAgreementStorage::clearRevisionsLanguage in modules/gdpr_consent/src/ConsentAgreementStorage.php
Unsets the language for all Consent Agreement with the given language.

File

modules/gdpr_consent/src/ConsentAgreementStorageInterface.php, line 59

Class

ConsentAgreementStorageInterface
Defines the storage handler class for Consent Agreement entities.

Namespace

Drupal\gdpr_consent

Code

public function clearRevisionsLanguage(LanguageInterface $language);