SiteSlugTrait

Trait for shared slug behavior for sites and pages

Known Users

Omeka\Api\Adapter\SiteAdapter, Omeka\Api\Adapter\SitePageAdapter
Methods Summary
protected
# getAutomaticSlug( string $title , \Site $site = NULL )
Get a valid and unused slug for a given title
protected
# slugify( string $input )
Transform the given string into a valid URL slug