interface PersonalInformationFormInterface in EU Cookie Compliance (GDPR Compliance) 2.0.x
Same name and namespace in other branches
- 8 src/PersonalInformationFormInterface.php \Drupal\eu_cookie_compliance\PersonalInformationFormInterface
Interface to describe forms that collect personal data.
Hierarchy
- interface \Drupal\eu_cookie_compliance\PersonalInformationFormInterface
Expanded class hierarchy of PersonalInformationFormInterface
All classes that implement PersonalInformationFormInterface
1 file declares its use of PersonalInformationFormInterface
- eu_cookie_compliance.module in ./
eu_cookie_compliance.module - The main file for the EU Cookie Compliance module.
File
- src/
PersonalInformationFormInterface.php, line 10
Namespace
Drupal\eu_cookie_complianceView source
interface PersonalInformationFormInterface {
/**
* Inject the GDPR checkbox into the form.
*
* @param array $form
* Form structure.
* @param \Drupal\Core\Form\FormStateInterface $form_state
* Form state that accompanies the form.
*/
public function formInjectGdprCheckbox(array &$form, FormStateInterface $form_state);
/**
* Process form submission in regards to GDPR checkbox.
*
* @param array $form
* Form structure.
* @param \Drupal\Core\Form\FormStateInterface $form_state
* Form state with the submitted values.
*/
public function formSubmitGdprCheckbox(array $form, FormStateInterface $form_state);
}
Members
Name | Modifiers | Type | Description | Overrides |
---|---|---|---|---|
PersonalInformationFormInterface:: |
public | function | Inject the GDPR checkbox into the form. | |
PersonalInformationFormInterface:: |
public | function | Process form submission in regards to GDPR checkbox. |