You are here

public function DataPolicyConsentManagerInterface::getExistingUserConsents in Data Policy 8

Get existing user consents.

Parameters

int $user_id: The user ID.

Return value

array The array of existing consents.

1 method overrides DataPolicyConsentManagerInterface::getExistingUserConsents()
DataPolicyConsentManager::getExistingUserConsents in src/DataPolicyConsentManager.php
Get existing user consents.

File

src/DataPolicyConsentManagerInterface.php, line 55

Class

DataPolicyConsentManagerInterface
Defines the Data Policy Consent Manager service interface.

Namespace

Drupal\data_policy

Code

public function getExistingUserConsents($user_id);