Convert ->original property to getOriginal()/setOriginal()
>>> [!note] Migrated issue
<!-- Drupal.org comment -->
<!-- Migrated from issue #3490784. -->
Reported by: [berdir](https://www.drupal.org/user/214652)
>>>
<p><span class="drupalorg-gitlab-issue-link project-issue-status-info project-issue-status-7"><a href="https://www.drupal.org/project/drupal/issues/2839195" title="Status: Closed (fixed)">#2839195: Add a method to access the original property </a></span> will hopefully land soon. Once that's in, we can add a rector rule to convert usages of that. </p>
<p>I expect that will be a lot of them, often in conditionals in hooks, with comparisons and isset() checks or similar, so that could be a bit tricky to figure out with the DeprecationHelper, might need to put larger chunks into it. Or don't bother and just require 11.2, where it will likely be committed.</p>
issue