Problem/Motivation
The token module provides a token for node log message and it is used by a lot of Drupal sites.
However, the token module does not create tokens for log message for any other entity types.
Especially when using a notification module that uses tokens when content is updated, having a log message token is key.
Testing
To test the new tokens, it's easiest if you have a module that uses tokens installed - example pathauto.
With pathauto, create a pattern for media items and confirm that [media:log] appears as a token option and that it returns the last log message as expected.
Issue fork revision_extras-3562739
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
Comment #3
jastraat commentedComment #4
jastraat commentedComment #5
jastraat commentedComment #6
jastraat commentedComment #7
mmarsello commentedCode changes reviewed and approved.
Comment #9
jastraat commentedThank you @mmarsello!