# Slugged Behavior A CakePHP behavior to automatically create and store slugs. - Input data can consist of one or many fields - Slugs can be unique and persistent, ideal for lookups by slug - Multibyte aware, umlauts etc will be properly replaced ## Configs
| Key | Default | Description |
|---|---|---|
| label | `null` |
|
| field | `'slug'` | The slug field name |
| overwriteField | 'overwrite_slug' | The boolean field/property to trigger overwriting if "overwrite" is false |
| mode | `'url'` |
|
| separator | `-` | The separator to use |
| length | `null` | Set to 0 for no length. Will be auto-detected if possible via schema. |
| overwrite | `false` |
has the following values
|
| unique | `false` |
has the following values
|
| case | `null` |
has the following values
|
| replace | see code | Custom replacements as array. `Set to null` to disable. |
| on | `'beforeRules'` | `beforeSave` or `beforeMarshal` or `beforeRules`. |
| scope | `[]` | Certain conditions to use as scope. |
| tidy | `true` | If cleanup should be run on slugging. |