generateSlug() protected method
This method is called by getValue() to generate the slug.
You may override it to customize slug generation. The default implementation calls yii\helpers\Inflector::slug() on the input strings concatenated by dashes (-).
| protected string generateSlug ( $slugParts ) | ||
|---|---|---|
| $slugParts | array |
An array of strings that should be concatenated and converted to generate the slug value. |
| return | string |
The conversion result. |
Please login to continue.