Skip to content

doNotGenerateSlugsOnUpdate() #24

@angelinek

Description

@angelinek

Hi,

I hope that my slug will not be updated when I updated my name
Is that possible?

I have tried to include the code below, but it doesnt work
public function getSlugOptions() : SlugOptions
{
return SlugOptions::create()
->generateSlugsFrom('name')
->saveSlugsTo('slug')
->doNotGenerateSlugsOnUpdate();
}

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions