\Drupal\entity_hierarchy_workbench_access\Plugin\AccessControlHierarchy\EntityHierarchy::getTree has a performance issue with large trees
>>> [!note] Migrated issue
<!-- Drupal.org comment -->
<!-- Migrated from issue #3057243. -->
Reported by: [larowlan](https://www.drupal.org/user/395439)
>>>
<h3 id="summary-problem-motivation">Problem/Motivation</h3>
<p>\Drupal\entity_hierarchy_workbench_access\Plugin\AccessControlHierarchy\EntityHierarchy::getTree loads the whole tree but need not do so.</p>
<h3 id="summary-proposed-resolution">Proposed resolution</h3>
<p>Fix it</p>
<h3 id="summary-remaining-tasks">Remaining tasks</h3>
<h3 id="summary-ui-changes">User interface changes</h3>
<h3 id="summary-api-changes">API changes</h3>
<h3 id="summary-data-model-changes">Data model changes</h3>
<h3 id="summary-release-notes">Release notes snippet</h3>
issue