Commit a872d605 by Qiang Xue

Fixes #2335.

parent 2698717b
...@@ -60,7 +60,8 @@ class Breadcrumbs extends Widget ...@@ -60,7 +60,8 @@ class Breadcrumbs extends Widget
*/ */
public $encodeLabels = true; public $encodeLabels = true;
/** /**
* @var string the first hyperlink in the breadcrumbs (called home link). * @var array the first hyperlink in the breadcrumbs (called home link).
* Please refer to [[links]] on the format of the link.
* If this property is not set, it will default to a link pointing to [[\yii\web\Application::homeUrl]] * If this property is not set, it will default to a link pointing to [[\yii\web\Application::homeUrl]]
* with the label 'Home'. If this property is false, the home link will not be rendered. * with the label 'Home'. If this property is false, the home link will not be rendered.
*/ */
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment