Simplify Props Form Logic
>>> [!note] Migrated issue
<!-- Drupal.org comment -->
<!-- Migrated from issue #3555442. -->
Reported by: [bnjmnm](https://www.drupal.org/user/2369194)
Related to !405 !285
>>>
<h3 id="overview">Overview</h3>
<ul>
<li>move the essentially-the-same logic that gets <code>InputUIData</code> (in InputBehaviorsComponentPropsForm and ComponentInstanceForm) to a dedicated hook</li>
<li>Refactor repetitive / lengthy parts of inputBehaviors to helper functions so the actual logic flow can be more easily seen in fewer loc</li>
</ul>
<h3 id="proposed-resolution">Proposed resolution</h3>
<h3 id="ui-changes">User interface changes</h3>
issue