Closed (fixed)
Project:
QuantCDN - Drupal Static Site Generator & Hosting
Version:
1.3.0
Component:
Code
Priority:
Normal
Category:
Task
Assigned:
Unassigned
Reporter:
Created:
27 Nov 2022 at 04:12 UTC
Updated:
22 Feb 2023 at 02:59 UTC
Jump to comment: Most recent
Comments
Comment #2
kristen polFix typo and slight rewording.
Comment #3
kristen polSince we are defaulting the node image to
[node:field_image:thumbnail:url]then we actually are dependent on the token module so we need to at least update the dependencies as a first step.Once that's required, then we should be able to get the tokens with something like:
And do a regex of the form values to pull out any tokens and check them against this list. Then, add errors for any tokens that aren't found.
Here is some similar regex: https://api.drupal.org/api/drupal/includes%21token.inc/function/token_sc...
Comment #4
kristen polWork in progress here:
https://github.com/quantcdn/drupal/pull/78
Comment #5
kristen polThis is ready for review.
Comment #6
kristen polThis was merged 4 Dec 2022 in GitHub. But the branch needs to be synced to Drupal.
Comment #8
kristen polIncluded in 1.4.0 release.