Suggest only relevant DynamicPropSources
>>> [!note] Migrated issue <!-- Drupal.org comment --> <!-- Migrated from issue #3551339. --> Reported by: [hooroomoo](https://www.drupal.org/user/3688872) Related to !279 >>> <h3 id="overview">Overview</h3> <p><span class="drupalorg-gitlab-issue-link drupalorg-gitlab-link-wrapper"><a href="https://git.drupalcode.org/project/canvas/-/work_items/3548322" class="drupalorg-gitlab-link">https://git.drupalcode.org/project/canvas/-/work_items/3548322</a></span> got in which presents a list of field suggestions to the user. But maybe there are some suggestions that we don't need to show to the user as an option to link to a prop such as "Revision log message". </p> <h3 id="proposed-resolution">Proposed resolution</h3> <p>Always omit from shape matching:</p> <ul> <li><code>Node</code> entity type =&gt; <code>promote</code></li> <li><code>Node</code> entity type =&gt; <code>sticky</code></li> <li><code>File</code> entity type =&gt; <code>User ID</code></li> <li>Generic: <ol> <li><code>revision_log_message</code></li> <li><code>revision_default</code></li> <li><code>default_langcode</code></li> </ol> </li> </ul> <p><strong>IOW: update the shape matching heuristics.</strong></p> <h3 id="ui-changes">User interface changes</h3> <p>No more irrelevant suggestions when building content templates:</p> <h4><code>type: boolean</code></h4> <dl> <dt>Before</dt> <dd><img src="https://www.drupal.org/files/issues/2025-11-12/before%20bool.png"> </dd><dt>After</dt> <dd><img src="https://www.drupal.org/files/issues/2025-11-12/after%20bool.png"><br> </dd></dl> <h4><code>type: string, format: uri-reference</code></h4> <dl> <dt>Before</dt> <dd><img src="https://www.drupal.org/files/issues/2025-11-12/before%20uri-reference.png"> </dd><dt>After</dt> <dd><img src="https://www.drupal.org/files/issues/2025-11-12/after%20uri-reference.png"><br> </dd></dl> > Related issue: [Issue #3548322](https://www.drupal.org/node/3548322) > Related issue: [Issue #3557353](https://www.drupal.org/node/3557353) > Related issue: [Issue #3541000](https://www.drupal.org/node/3541000)
issue