Array to string conversion in ::processCheckbox
>>> [!note] Migrated issue <!-- Drupal.org comment --> <!-- Migrated from issue #3240983. --> Reported by: [dimilias](https://www.drupal.org/user/2578708) Related to !1 >>> <p>When editing a link, the following check is being made in the <code>menu_link_destination_form_menu_link_content_menu_link_content_form_alter</code>.<br> <img src="https://www.drupal.org/files/issues/2021-10-06/Screenshot%202021-10-06%20092807.png" alt="error"></p> <p>This is because the <code>menu_link_destination</code> is stored in an array with </p> <pre>'options' =&gt; [<br>&nbsp; 'menu_link_destination' =&gt; $value,<br>];</pre><p> <img src="https://www.drupal.org/files/issues/2021-10-06/Screenshot%202021-10-06%20093043.png" alt="storage"></p> <p>The value should be assigned as a default value and not the array.</p>
issue