Closed (fixed)
Project:
EU Cookie Compliance (GDPR Compliance)
Version:
8.x-1.x-dev
Component:
Code
Priority:
Normal
Category:
Feature request
Assigned:
Reporter:
Created:
8 Feb 2017 at 09:19 UTC
Updated:
11 Mar 2018 at 09:09 UTC
Jump to comment: Most recent, Most recent file
Comments
Comment #2
e_lebescond commentedComment #3
e_lebescond commentedComment #4
o'briatComment #5
killua99 commentedI'm against this internal checks. Use a hook_update_N() and fill this config and just do a get only.
For the rest looks ok.
Comment #6
e_lebescond commentedPatch updated. Now using a hook_update_N().
Comment #8
e_lebescond commentedI am newbie with Drupal ecosystem and I don't understand why my last submitted patch failed testing.
@killua99 Any idea?
Comment #9
svenryen commentedWe have such checks in the code already (for example on line 186), and it's a common code for Drupal sites. I would say this does not require an update hook. I'll look into why this is failing and provide an updated patch.
Comment #10
svenryen commented-
Comment #11
svenryen commentedThe field title was a bit verbose, so I named it "Cookie Lifetime" and moved your title into the description. I also added $this->t() instead of just t() for translation and placed the field inside the Advanced section of the form. Otherwise looks great! Here's the updated patch.
Comment #13
svenryen commented