I can't create un custom parameters with tokens.
I have this error : The website encountered an unexpected error. Try again later.

TypeError: array_filter(): Argument #2 ($callback) must be a valid callback or null, class Drupal\eulerian\Form\SettingsForm does not have a method "containsForbiddenToken" in array_filter() (line 591 of modules/custom/eulerian/src/Form/SettingsForm.php).

CommentFileSizeAuthor
#3 eulerian-3418017.patch1.07 KBabhishek_gupta1

Comments

Coco974 created an issue. See original summary.

abhishek_gupta1’s picture

Assigned: Unassigned » abhishek_gupta1
abhishek_gupta1’s picture

Assigned: abhishek_gupta1 » Unassigned
Status: Active » Needs review
StatusFileSize
new1.07 KB

@Coco974, fixed the issue, created patch.

s3b0un3t’s picture

Assigned: Unassigned » s3b0un3t
Status: Needs review » Fixed

Hello,
It seems that this function was accidentally deleted.
It ensures that the tokens used in custom parameters do not infringe the GDPR (prohibition on the transmission of private data).

I added this method.
It is based on the same code as the Matomo module.

I am pushing a fix and will generate a new release quickly.

THANKS !

Status: Fixed » Closed (fixed)

Automatically closed - issue fixed for 2 weeks with no activity.