Current Page Entity Tokens
This module makes information about the current page's entity available through tokens. This allows you to dynamically use data from the current node, such as its fields, in various contexts like autofilling forms or filtering embedded content.
Add current request entity tokens to [current-page]
Taken from a Tokens feature request at https://www.drupal.org/project/token/issues/919760, this micro-module makes the current request's entity information available under the [current-page] token.
For instance,
- an embedded webform might want to have access to [current-page:node:field_email] to autofill a reply-to
- a Paragraph on a page might want access to [current-page:node:field_tags] to filter an embedded View
Depends on
Dependencies of the latest stable release
Required by
Tracked projects that depend on this one
No tracked projects depend on this one yet.
Activity
Releases
| Version | Type | Core | Notes | Release date | |
|---|---|---|---|---|---|
| 2.0.3 | Stable | 9–11 | Jan 26, 2025 |