You are here

public function DataPolicyConsentManagerInterface::needConsent in Data Policy 8

Check if user gave consent on a current version of data policy.

Return value

bool TRUE if consent is needed.

1 method overrides DataPolicyConsentManagerInterface::needConsent()
DataPolicyConsentManager::needConsent in src/DataPolicyConsentManager.php
Check if user gave consent on a current version of data policy.

File

src/DataPolicyConsentManagerInterface.php, line 18

Class

DataPolicyConsentManagerInterface
Defines the Data Policy Consent Manager service interface.

Namespace

Drupal\data_policy

Code

public function needConsent();