You are here

public function DataPolicyConsentManagerInterface::addCheckbox in Data Policy 8

Add checkbox to form which allow user give consent on data policy.

Parameters

array $form: An associative array containing the structure of the form.

1 method overrides DataPolicyConsentManagerInterface::addCheckbox()
DataPolicyConsentManager::addCheckbox in src/DataPolicyConsentManager.php
Add checkbox to form which allow user give consent on data policy.

File

src/DataPolicyConsentManagerInterface.php, line 26

Class

DataPolicyConsentManagerInterface
Defines the Data Policy Consent Manager service interface.

Namespace

Drupal\data_policy

Code

public function addCheckbox(array &$form);