public function PersonalInformationFormInterface::formInjectGdprCheckbox in EU Cookie Compliance (GDPR Compliance) 8
Same name and namespace in other branches
- 2.0.x src/PersonalInformationFormInterface.php \Drupal\eu_cookie_compliance\PersonalInformationFormInterface::formInjectGdprCheckbox()
Inject the GDPR checkbox into the form.
Parameters
array $form: Form structure.
\Drupal\Core\Form\FormStateInterface $form_state: Form state that accompanies the form.
File
- src/
PersonalInformationFormInterface.php, line 20
Class
- PersonalInformationFormInterface
- Interface to describe forms that collect personal data.
Namespace
Drupal\eu_cookie_complianceCode
public function formInjectGdprCheckbox(array &$form, FormStateInterface $form_state);