Implement tokens to use partials

Created on 11 February 2024, 4 months ago

Problem/Motivation

Message templates allow the definition of "partials", which are pieces of markup that may be used individually in view modes, views, etc. However, if the message is somehow used through tokens, it is not possible to address the partials.

Proposed resolution

Add partials to hook_token_info() and hook_token() implementations of the module.

Remaining tasks

  • Create merge request
  • Review
  • Merge

User interface changes

Partials are available as tokens.

API changes

None.

Data model changes

None.

✨ Feature request
Status

Needs review

Version

1.4

Component

Code

Created by

πŸ‡³πŸ‡±Netherlands eelkeblok Netherlands πŸ‡³πŸ‡±

Live updates comments and jobs are added and updated live.
  • Needs tests

    The change is currently missing an automated test that fails when run with the original code, and succeeds when the bug has been fixed.

Sign in to follow issues

Comments & Activities

Production build 0.69.0 2024