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
Ask your assistant about Current Page Entity Tokens
Check compatibility with your Drupal and PHP version, maintenance and security coverage, from current release data. How it works
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.