Add new data types and config schema alters to support tokens in more fields
>>> [!note] Migrated issue <!-- Drupal.org comment --> <!-- Migrated from issue #3556019. --> Reported by: [jurgenhaas](https://www.drupal.org/user/168924) Related to !566 >>> <h3 id="summary-problem-motivation">Problem/Motivation</h3> <p>This is the resulting task that we identified in <span class="drupalorg-gitlab-issue-link drupalorg-gitlab-link-wrapper"><a href="https://git.drupalcode.org/project/eca_tamper/-/work_items/3555371" class="drupalorg-gitlab-link">https://git.drupalcode.org/project/eca_tamper/-/work_items/3555371</a></span> and we learned that Drupal Canvas already went through similar exercises, see <code>Drupal\canvas\Plugin\DataTypeOverride</code> and <code>\Drupal\canvas\Hook\ComponentSourceHooks::configSchemaInfoAlter</code>.</p> <h3 id="summary-proposed-resolution">Proposed resolution</h3> <p>Introduce a data type <code>FloatOrToken</code>, and alter the schema for all plugins with number fields that also support the use of tokens.</p>
issue