I have custom tokens defined in
hook_tokens(). I need these tokens to populate metatag data for the metagag module on a custom path. I have the context module installed as well.
The path routes to a callback that loads the object I need to pass to
My question is when and where do I call
token_replace() so the tokens are available to metatag context on page load?