Tokens for entity types other than node

Created on 27 March 2021, about 4 years ago
Updated 6 October 2023, over 1 year ago

Problem/Motivation

Tokens are limited to node

Steps to reproduce

Create a custom entity with tokens, setup as the commented entity and check email.
ex: author has commented on: "[custom_entity:title]"

Proposed resolution

Replace node specific code with "entity type"

$v['node'] = $entity  -->  $v[$entity_type] = $entity
πŸ› Bug report
Status

Needs review

Version

1.0

Component

Code

Created by

πŸ‡ΊπŸ‡ΈUnited States devitate Orange County, CA

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

Comments & Activities

Not all content is available!

It's likely this issue predates Contrib.social: some issue and comment data are missing.

Production build 0.71.5 2024