generateUniqueSlug() protected method
Generates slug using configured callback or increment of iteration.
protected string generateUniqueSlug ( $baseSlug, $iteration ) | ||
---|---|---|
$baseSlug | string |
Base slug value |
$iteration | integer |
Iteration number |
return | string |
New slug value |
throws | yii\base\InvalidConfigException |
Please login to continue.