How to utilize unique slugs for plugin elements that extend the BaseElement class I have my slug saving to the element_i18n table but it's not unique. When saving a non-unique slug using the default Craft entries, the slug gets appended with "-1".

How can I extend the default functionality for a slug?
Brad, I realize my initial question is a bit vague, oops! I did however find a solution to why my localized slugs for my plugin element weren't being saved as a unique string.

I traced through ElementHelper::setUniqueUri() and figured out I was missing the getUrlFormat() function. Also to make sure I include {slug} in my urlFormat string in this particular case.