widgets\Menu $linkTemplate

$linkTemplate public property

The template used to render the body of a menu which is a link. In this template, the token {url} will be replaced with the corresponding link URL; while {label} will be replaced with the link text. This property will be overridden by the template option set in individual menu items via $items.

public string $linkTemplate = '<a href="{url}">{label}</a>'
doc_Yii
2025-01-10 15:47:30
Comments
Leave a Comment

Please login to continue.