interface PageEditSlugInterface

Interface to be called for DI for PageEdit Slug related services

Methods

bool
exists(string $slug)

Checks if slug already exists

string
slugify(string $text, bool $keepSlashes = false)

Checks unicity of slugged text against pages collection

Details

at line 23
bool exists(string $slug)

Checks if slug already exists

Parameters

string $slug

Return Value

bool

at line 29
string slugify(string $text, bool $keepSlashes = false)

Checks unicity of slugged text against pages collection

Parameters

string $text
bool $keepSlashes

Return Value

string