- Issue created by @kopeboy
The edit has been corrected. Also, the test coverage has been updated to detect such cases.
Fresh install of Drupal 10.3.6, created a dynamic link with subrequests, without route, and trying to edit it will lead to
InvalidArgumentException: "0" is an invalid render array key. Value should be an array but got a string. in Drupal\Core\Render\Element::children() (line 97 of core/lib/Drupal/Core/Render/Element.php).
Active
1.2
Code
The edit has been corrected. Also, the test coverage has been updated to detect such cases.