Add new data types and config schema alters to support tokens in more fields

Created on 4 November 2025, 2 days ago

Problem/Motivation

This is the resulting task that we identified in 🐛 Can't make calculations, tokens are not properly resolved Active and we learned that Drupal Canvas already went through similar exercises, see Drupal\canvas\Plugin\DataTypeOverride and \Drupal\canvas\Hook\ComponentSourceHooks::configSchemaInfoAlter.

Proposed resolution

Introduce a data type FloatOrToken, and alter the schema for all plugins with number fields that also support the use of tokens.

📌 Task
Status

Active

Version

3.0

Component

Code

Created by

🇩🇪Germany jurgenhaas Gottmadingen

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

Merge Requests

Comments & Activities

Not all content is available!

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

  • Merge request !566Testing with new data type → (Merged) created by jurgenhaas
  • Pipeline finished with Failed
    1 day ago
    Total: 408s
    #649901
  • Pipeline finished with Failed
    1 day ago
    Total: 565s
    #649911
  • Pipeline finished with Success
    1 day ago
    Total: 534s
    #650074
Production build 0.71.5 2024