Add "partials", to allow rendering only part of a message
>>> [!note] Migrated issue <!-- Drupal.org comment --> <!-- Migrated from issue #1433978. --> Reported by: [amitaibu](https://www.drupal.org/user/57511) >>> <p>Example text:</p> <p>{{some text}} {{more text}}</p> <p>$message-&gt;getText(array('partials' =&gt; TRUE, 'partial id' =&gt; 1); // Results with "some text"<br> $message-&gt;getText(array('partials' =&gt; TRUE, 'partial id' =&gt; 2); // Results with "mote text"</p> <p>For those using "Panel fields" in Views, it means you can easily theme your message, without having HTML inside the message itself.</p> <p>Patch will follow.</p>
issue