Allow to set default_value with alterInfo
>>> [!note] Migrated issue <!-- Drupal.org comment --> <!-- Migrated from issue #2921151. --> Reported by: [pasqualle](https://www.drupal.org/user/80733) >>> <h3 id="summary-problem-motivation">Problem/Motivation</h3> <p><span class="drupalorg-gitlab-issue-link drupalorg-gitlab-link-wrapper"><a href="https://git.drupalcode.org/project/link_attributes/-/work_items/2907603" class="drupalorg-gitlab-link">https://git.drupalcode.org/project/link_attributes/-/work_items/2907603</a></span> allows to change the plugin definition, but default_value can not be set.</p> <h3 id="summary-proposed-resolution">Proposed resolution</h3> <h3 id="summary-remaining-tasks">Remaining tasks</h3> <p>Remove the out of scope changes to details/container type choice<br> Add a test to \Drupal\Tests\link_attributes\Functional\LinkAttributesFieldTest::testWidget that validates you can set default_value</p> <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