Skip to content

Commit

Permalink
Merge pull request #417 from hbugdoll/patch-1
Browse files Browse the repository at this point in the history
Added hint regarding parent item's language for menu item injection
  • Loading branch information
nadar authored Apr 5, 2024
2 parents 1f93592 + fbdee5e commit 61a8efe
Showing 1 changed file with 2 additions and 0 deletions.
2 changes: 2 additions & 0 deletions src/menu/InjectItem.php
Original file line number Diff line number Diff line change
Expand Up @@ -70,6 +70,8 @@
* ]
* ```
*
* Be aware that the parent item must be available for current language.
*
* @property $childOf integer The child of id in order read data from this parent item.
* @property $item \luya\cms\menu\Item The resolved Item.
* @property $navId integer|string The navId for this inject item.
Expand Down

0 comments on commit 61a8efe

Please sign in to comment.