When editing a link, the following check is being made in the menu_link_destination_form_menu_link_content_menu_link_content_form_alter.
error

This is because the menu_link_destination is stored in an array with

'options' => [
  'menu_link_destination' => $value,
];

storage

The value should be assigned as a default value and not the array.

Command icon Show commands

Start within a Git clone of the project using the version control instructions.

Or, if you do not have SSH keys set up on git.drupalcode.org:

Comments

idimopoulos created an issue. See original summary.

dimilias’s picture

Status: Active » Needs review

I haven't provided any tests. This is standard Drupal checkbox behavior.

claudiu.cristea’s picture

Status: Needs review » Reviewed & tested by the community

Nice catch. Thank you!

claudiu.cristea’s picture

Status: Reviewed & tested by the community » Fixed

Status: Fixed » Closed (fixed)

Automatically closed - issue fixed for 2 weeks with no activity.