Created on 8 February 2023, almost 2 years ago
Updated 15 February 2023, almost 2 years ago

Problem/Motivation

The current 1.x version differs from the Drupal 7.x version in various ways. Many of these will make migration more difficult, and often there's no clear reason, it was probably an accident.

Proposed resolution

  1. Add option to create a link.
  2. Add call to token entity mapping (assumes token name matches entity name, which is not always correct).
  3. Change the formatter ID to token_formatters_entity_reference (should anyway start with module name) and class name to EntityReferenceTokenFormatter (we might later want other token formatters, so it's good to have a name that indicates the specific case).
  4. Change the settings names to text and link.
  5. Change to UI texts to match the D7 versions, which are more descriptive.
  6. Pass the clear option when replacing tokens.

Remaining tasks

Follow-up issue ✨ Add generic entity tokens Active

User interface changes

API changes

Data model changes

πŸ“Œ Task
Status

Fixed

Version

1.0

Component

Code

Created by

πŸ‡¬πŸ‡§United Kingdom adamps

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

Comments & Activities

Production build 0.71.5 2024