You are here

service data_policy.manager in Data Policy 8

Class

Drupal\data_policy\DataPolicyConsentManager
4 string references to data_policy.manager
DataPolicy::create in src/Controller/DataPolicy.php
Instantiates a new instance of this class.
DataPolicyAgreement::create in src/Form/DataPolicyAgreement.php
Instantiates a new instance of this class.
data_policy_form_user_register_form_alter in ./data_policy.module
Implements hook_form_FORM_ID_alter().
_data_policy_user_register_form_submit in ./data_policy.module
Save user consent.

File

./data_policy.services.yml
data_policy.services.yml

View source
  1. class: Drupal\data_policy\DataPolicyConsentManager
  2. arguments:
  3. - '@config.factory'
  4. - '@current_user'
  5. - '@entity_type.manager'
  6. - '@database'
  7. - '@entity.repository'