You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Copy file name to clipboardExpand all lines: doc/sluggable.md
+1-1Lines changed: 1 addition & 1 deletion
Display the source diff
Display the rich diff
Original file line number
Diff line number
Diff line change
@@ -271,7 +271,7 @@ echo $article->getSlug();
271
271
272
272
-**fields** (required, default=[]) - list of fields for slug
273
273
-**updatable** (optional, default=true) - **true** to update the slug on sluggable field changes, **false** - otherwise
274
-
-**unique** (optional, default=true) - **true** if slug should be unique and if identical it will be prefixed, **false** - otherwise
274
+
-**unique** (optional, default=true) - **true** if slug should be unique and if identical it will be suffixed, **false** - otherwise
275
275
-**unique_base** (optional, default=null) - used in conjunction with **unique**. The name of the entity property that should be used as a key when doing a uniqueness check.
276
276
-**separator** (optional, default="-") - separator which will separate words in slug
277
277
-**prefix** (optional, default="") - prefix which will be added to the generated slug
0 commit comments