Node tokens are not being replaced
>>> [!note] Migrated issue <!-- Drupal.org comment --> <!-- Migrated from issue #3251930. --> Reported by: [aimai](https://www.drupal.org/user/3634629) Related to !1 >>> <h3 id="summary-problem-motivation">Problem/Motivation</h3> <p>Node tokens are not being replaced when adding them to the message field. E.g. <code>[node:title]</code></p> <h4 id="summary-steps-reproduce">Steps to reproduce</h4> <p>Create a new email and include node tokens in the "Message" field. </p> <h3 id="summary-proposed-resolution">Proposed resolution</h3> <p>The issue is the <code>$data['node'] = User::load($view-&gt;result[$row_id]-&gt;nid);</code> line. Instead of <code>User::load</code> it needs to use <code>Node::load</code></p> <h3 id="summary-remaining-tasks">Remaining tasks</h3> <p>Create patch/merge request.</p> > Related issue: [Issue #3086678](https://www.drupal.org/node/3086678)
issue