Skip to content

Commit a22674b

Browse files
authored
Update drupal-links-menu.json (#4885)
Change from array to object because Drupal uses this as an associative array, which in JSON Schema must be defined as an object. @see \token_menu_link_translated_title() for a usage example.
1 parent 397a0cf commit a22674b

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

src/schemas/json/drupal-links-menu.json

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -62,8 +62,8 @@
6262
"type": "string"
6363
},
6464
"metadata": {
65-
"$comment": "@todo Add a title",
66-
"type": "array"
65+
"$comment": "Any arbitrary metadata for this link.",
66+
"type": "object"
6767
},
6868
"expanded": {
6969
"title": "Show the link as expanded",

0 commit comments

Comments
 (0)