Move the 'menu_link_content' 'link' base field widget overwrite into its own submodule
>>> [!note] Migrated issue <!-- Drupal.org comment --> <!-- Migrated from issue #3360374. --> Reported by: [grevil](https://www.drupal.org/user/3668491) Related to !10 >>> <h3 id="summary-problem-motivation">Problem/Motivation</h3> <p>Currently, if this module is enabled, the "link" base field widget of "menu_link_content" is automatically overwritten. Since this module is incompatible with other modules modifying the link specifically for menu items / links (e.g. <a href="https://www.drupal.org/project/menu_link_attributes">https://www.drupal.org/project/menu_link_attributes</a>), it would be nice to make this overwrite operation optional.</p> <p>To do so, I suggest moving the hook containing the overwrite, in its own submodule.</p> <h4 id="summary-steps-reproduce">Steps to reproduce</h4> <h3 id="summary-proposed-resolution">Proposed resolution</h3> <p>Move "link_attributes_entity_base_field_info_alter()" in its own submodule "link_attributes_menu_link".</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>
issue