Skip to content
Merged
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
2 changes: 1 addition & 1 deletion plugin/registration.md
Original file line number Diff line number Diff line change
Expand Up @@ -389,7 +389,7 @@ Key | Description
------------- | -------------
`label` | specifies the menu label localization string key, required.
`icon` | an icon name from the [Winter CMS icon collection](/docs/v1.2/ui/style/icon), optional.
`iconSvg` | an SVG icon to be used in place of the standard icon, the SVG icon should be a rectangle and can support colors, optional.
`iconSvg` | an image icon (svg, webp, png, jpg) to be used in place of the standard icon, the image icon should be a square and can support colors, optional. The value will be passed to `Url::asset()` before rendering.
`url` | the URL the menu item should point to (ex. `Backend::url('author/plugin/controller/action')`, required.
`counter` | a numeric value to output near the menu icon. The value should be a number or a callable returning a number, optional.
`counterLabel` | a string value to describe the numeric reference in counter, optional.
Expand Down