Skip to content

Kirby 6.0.0

$fieldMethods->slug()

Converts the field content to a slug

$fieldMethods->slug(): FieldMethods

Return type

Kirby\Content\FieldMethods

This method does not modify the existing $fieldmethods object but returns a new object with the changes applied. Learn more →

Parent class

Kirby\Content\FieldMethods