The ConfigAction plugin should replace tokens in array keys
>>> [!note] Migrated issue <!-- Drupal.org comment --> <!-- Migrated from issue #3573851. --> Reported by: [phenaproxima](https://www.drupal.org/user/205645) Related to !590 >>> <h3 id="summary-problem-motivation">Problem/Motivation</h3> <p>If you pass YAML to an action -- say, for the generic ConfigAction wrapper -- tokens are supported.</p> <p>In array <em>values</em>, that is. Tokens in array keys are ignored. This is a problem because certain config actions <em>rely</em> on semi-dynamic array keys. For example <span class="drupalorg-gitlab-issue-link project-issue-status-info project-issue-status-0"><a href="https://www.drupal.org/node/3570506" title="Status: Unknown">#3570506: New config action to override static menu links</a></span></p> <h3 id="summary-proposed-resolution">Proposed resolution</h3> <p>In the YamlParser service, also replace tokens in array keys that are strings.</p>
issue