Support for Drupal 7 is ending on 5 January 2025—it’s time to migrate to Drupal 10! Learn about the many benefits of Drupal 10 and find migration tools in our resource center.
Is there a way to add this as a token object so that I can put the publish link in a Drupal automated email?
For example, I am using the rules module to email an admin of the site whenever a content type is created (unpublished by default). I am able to use tokens for different cck fields and things but I am unable to put is a publish link.
Is there a way to add the publish link as a token so that it can be added to things like this? Maybe put it as a cck field, which will then automatically be added to the token list?
Comments
Comment #1
AaronBaumanSounds like a valuable feature to me, but I think it would require implementing hook_token_values() and hook_token_list().
see http://drupal.org/documentation/modules/token
Comment #2
Simon Georges CreditAttribution: Simon Georges commentedAll feature requests should go to current branch, as the 6.x-1.x version is not maintained any more.