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.
Downloads
Download token-5.x-1.15.tar.gztar.gz
31.13 KB
MD5: 22b88b6e6b635620b223de2ce31ced87
SHA-1: 4be971d424ab7f6a6546426b3a82c5d3d74cf3f7
SHA-256: 4972822aca108fee708c2ff102c7542ee128d10bbba2b1064273e958683ee803
Download token-5.x-1.15.zipzip
40.65 KB
MD5: 90cbfecc259fe1ce1f80392605755314
SHA-1: cf11eb9647ea462aaff28477b3b60bc83d6c7e28
SHA-256: b9586f6685ed29722628aed7ee40cf1df0a5b6971783e2a1f940f35f7e32ff37
Release notes
Changes since DRUPAL-5--1-14:
- #252241 by EmanueleQuinto, isaac.niebeling, Dave Reid: Added [log] and [log-raw] tokens for node revision log message.
- #821052 by Dave Reid: Fixed CCK tokens not included.
- #821238 by Hidehisa, Dave Reid: Fixed incorrect backport node taxonomy SQL query.
- #224262 by nicholasThompson, Dave Reid, jaydub, jpfle, greggles, tobiasb: Added current page tokens (path, URL, and page number).
by Dave Reid: Prevent PHP notices if $node->log is not defined.
by Dave Reid: Values run through url() are always escaped, so there is no need for a [node-url-raw] token.
#490378 by Dave Reid | kiamlaluno: Cleaned up token descriptions and inconsistent use of punctuation.
#321487 by Dave Reid, eMPee584 | greggles: Added [comment-node-title] token for a comment's node title.
by Dave Reid: Add a form element validation callback for invalid token context checking.
#587148 by Dave Reid, rfay: Added special warning and array merging when more than one module defines the same token.
by Dave Reid: Adding node-path and node-url tokens.
#375887 by Dave Reid: Added 'since' and 'small' date tokens and standardized node [mode] and user [reg] and [log] tokens.
by Dave Reid: Use constants for default token prefix and suffix.
by Dave Reid: Backported token_get_invalid_tokens_by_context(). - by Dave Reid: Added [current-page:title] token.
by Dave Reid: Adding proper token API documentation. - by Dave Reid: User URLs should be absolute, not relative.
by Dave Reid: Fixed incorrect parameters for url().