Skip to content

Commit 61a8efe

Browse files
authored
Merge pull request #417 from hbugdoll/patch-1
Added hint regarding parent item's language for menu item injection
2 parents 1f93592 + fbdee5e commit 61a8efe

File tree

1 file changed

+2
-0
lines changed

1 file changed

+2
-0
lines changed

src/menu/InjectItem.php

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -70,6 +70,8 @@
7070
* ]
7171
* ```
7272
*
73+
* Be aware that the parent item must be available for current language.
74+
*
7375
* @property $childOf integer The child of id in order read data from this parent item.
7476
* @property $item \luya\cms\menu\Item The resolved Item.
7577
* @property $navId integer|string The navId for this inject item.

0 commit comments

Comments
 (0)