Client has a podcast on a page, they also added a transcript of the podcast to the body field. In the transcript they are timestamping when people are talking like "Bob [23:23] - I think that's a great idea" but drupal interprets that as a token, and then runs through hook_tokens but the only one giving an error is this module because the implementation of hook_tokens is type-hinted, so we get "PHP message: Uncaught PHP Exception TypeError: "color_field_tokens(): Argument #1 ($type) must be of type string, int given, called in..."
- Need to create a patch to remove the type-hinting and match the example hook provided by the token module's api file.

Command icon Show commands

Start within a Git clone of the project using the version control instructions.

Or, if you do not have SSH keys set up on git.drupalcode.org:

Comments

porchlight created an issue. See original summary.

porchlight’s picture

Status: Active » Needs review

nickdickinsonwilde made their first commit to this issue’s fork.

nickdickinsonwilde’s picture

Status: Needs review » Fixed

That's a very fancy edge case. Merged, thanks

Status: Fixed » Closed (fixed)

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