I have a custom Media type - gallery_image and it has a couple of extra fields, including field_caption. (Drupal 9)

Do replacement tokens for custom Media type fields get generated automatically, or do I have to create one?

I want to pass the token to a colorbox overlay as the preferred caption field.

  • Are they not in the token browser?
    – Kevin
    Feb 23, 2023 at 2:03
  • I havent been able to find them no.
    – tanbog
    Feb 23, 2023 at 2:07


Your Answer

By clicking “Post Your Answer”, you agree to our terms of service and acknowledge you have read our privacy policy.

Browse other questions tagged or ask your own question.