Token info for latest-revision-id declared twice, and missing for latest-state
>>> [!note] Migrated issue <!-- Drupal.org comment --> <!-- Migrated from issue #3164366. --> Reported by: [idebr](https://www.drupal.org/user/1879760) Related to !4 !3 >>> <h3 id="summary-problem-motivation">Problem/Motivation</h3> <p><code>scheduled_transitions_token_info</code> declares <code>latest-revision-id</code> twice, and does not declare <code>latest-state</code> in this hook.</p> <h3 id="summary-proposed-resolution">Proposed resolution</h3> <p>Fix the typo in <code>scheduled_transitions_token_info()</code> so the <code>latest-state</code> is declared correctly.</p> <h3 id="summary-remaining-tasks">Remaining tasks</h3> <ol> <li>Write a patch</li> <li>Review</li> <li>Commit</li> </ol> <h3 id="summary-ui-changes">User interface changes</h3> <p>None.</p> <h3 id="summary-api-changes">API changes</h3> <p>None.</p> <h3 id="summary-data-model-changes">Data model changes</h3> <p>The token for latest-state is available in the Token UI.</p>
issue