Are there any way to get the current page entity ID by this module?

Created on 29 March 2023, about 1 year ago
Updated 12 April 2023, about 1 year ago

Hello,

Use this module whether to get the entity data (ID, Title, etc.) of current page?

I know there is a way: {{ drupal_token('current-page:node:nid') }} need install module (current_page_entity_tokens), but use token will because caching problem and can't work on each page, it always print datas from the first access page, May be solve the problem of cache, it will work normally, But, I don't know how to solve, Are there any other way to get the current page entity ID by this module?

Thank you!

πŸ’¬ Support request
Status

Fixed

Version

3.2

Component

Miscellaneous

Created by

Live updates comments and jobs are added and updated live.
Sign in to follow issues

Comments & Activities

Production build 0.69.0 2024